This one time, at band camp, Anthony DeRobertis said: > On Jan 5, 2004, at 19:15, Stephen Gran wrote: > > > >How about the simpler: > > > >if [ -z "$RUN_package_AT_BOOT" -a "$PPID" = "1" ] ; then exit 0 ; fi > > > >Or does that miss something else? > > /etc/init.d/rc and /etc/init.d/rcS. Look in the /etc/inittab file. > > I'm pretty sure this means PPID != 1. Yes, I was working with two variants: [ -n "$RUN_package_AT_BOOT" -a "$PPID" = "1" ] || exit 0 and if [ -z "$RUN_package_AT_BOOT" -o "$PPID" != "1" ] ; then exit 0 ; fi But I somehow mangled them on send. -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : sgran@debian.org | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
Attachment:
pgpimxa73uy_T.pgp
Description: PGP signature