[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#225465: debian-policy: packages must give choice to notstart at boot, via debconf

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.

Reply to: