>-----Original Message----- >From: JoeHill [mailto:[EMAIL PROTECTED] >Sent: Monday, 31 January 2005 10:47 AM >To: [email protected] >Subject: Re: [newbie] Isn't ~/.bash_profile sourced only at login ?
>Change the script so that it is only run if fetchmail is *not* already running. >Here's the one I use: >ps ax > ~/tmp/bashterm >grep fetchmail ~/tmp/bashterm > /dev/null >if [ $? -ne 0 ] ; then >fetchmail >fi I'm not sure if I'm hijacking this thread, but, for my interest, could someone who does know explain what this script does/how it works? (It's the stuff in the [*] that isn't obvious to me...) Thanks, Hugh
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
