RE: [CentOS] /etc/rc5.d

2008-09-11 Thread Bowie Bailey
[EMAIL PROTECTED] wrote: > > start() { > date >> /root/joe.log > /usr/bin/joevpn start & > RES=$? > return $RES > } > > This all works and everything. I am just curious as to why when I do > a ps I get this: > /b

Re: [CentOS] /etc/rc5.d

2008-09-11 Thread Romeo Ninov
[EMAIL PROTECTED] wrote / napĂ­sal(a): I have a shell script, /usr/bin/joevpn, which does a quick VPN connect. Basically (HOST and DOFIL are defined above and are correct. I just did not list them here) case "$1" in start) date > $DOFIL while [ -f $DOFIL ] do

[CentOS] /etc/rc5.d

2008-09-11 Thread tony . chamberlain
I have a shell script, /usr/bin/joevpn, which does a quick VPN connect. Basically (HOST and DOFIL are defined above and are correct. I just did not list them here) case "$1" in start) date > $DOFIL while [ -f $DOFIL ] do echo y | /usr/local/bin/