https://bugzilla.novell.com/show_bug.cgi?id=222479 novell@4fly.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |novell@4fly.de ------- Comment #44 from novell@4fly.de 2006-12-31 07:02 MST ------- (In reply to comment #41) In reply to your useful script Roland I added some lines at the top for myself to check if the daemon is already running. Kind regards, Norman ---------------- Copy after this line ------------------ #!/bin/sh #see if the gnome-keyring-daemon is already running for the current user pid="`ps -u $UID | grep gnome-keyring | grep -v grep | awk '{print $1}'`" #see if the variable $pid is assigned and dumping the error message #to /dev/null if [ ! $pid ] 2>/dev/null then echo "gnome-keyring-daemon is not running" else #if gnome-keyring-daemon is already running echo "killing every instance of gnome-keyring-daemon" for exp in $pid do echo "killing instance with PID : $exp" kill $exp done fi if [ ! $GNOME_KEYRING_PID ] ; then keyring=$(/opt/gnome/bin/gnome-keyring-daemon) if [ $? -eq 0 ] ; then for exp in $keyring; do export $exp; done fi fi if [ $GNOME_KEYRING_PID ] ; then /opt/gnome/bin/evolution $@ else echo "Gnome Keyring has not been started" fi ------- Copy until this line, but not the line itself ---------- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.