I like that nohup trick! :) One question though, for some strange reason my bash shell chokes on a quoted $! but works fine with it unquoted.
My bash version is: GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu) Copyright (C) 2002 Free Software Foundation, Inc. I tried all of the other special parameters with and without double quotes and all worked except for $!. echo "$!" give me: bash: !": event not found and echo $! gives me the acual process id. I try the same test using /opkg/lib/openpkg/bash and get the same result, but that bash just happens to be the identical version as my gentoo bash. Is this a bug in bash or what? I only care because as written, your new startup script looks like it might not work on my gentoo system. Thanks, Aaron On Tue, 2004-04-27 at 03:30, Ralf S. Engelschall wrote: > On Thu, Apr 22, 2004, Aaron Bostick wrote: > > > I am using the openpkg cfengine package and noticed the startup > script does > > not have start/stop capability for the cfservd and cfenvd > processes. I > > created one that does this but I do know how portable it is. I use > base os > > ps, grep, and awk to create the process pid files since these > programs do > > not do this on their own. > > [...] > > The "ps" fiddling is not portable enough. But I was able to workaround > this by using a combination of nohup(1) and cfservd --no-fork. > See http://cvs.openpkg.org/chngview?cn=16172 for details. > Thanks for your contribution. > Ralf S. Engelschall > [EMAIL PROTECTED] > www.engelschall.com > > ______________________________________________________________________ > The OpenPKG Project www.openpkg.org > User Communication List [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part
