[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



> if [ -z "$RUN_package_AT_BOOT" -a "$PPID" = "1" ] ; then exit 0 ; fi
> 
> Or does that miss something else?  Thinking about this issue for one of
> my packages, so please reply if you see obvious problems.

  if [ -z "$RUN_package_AT_BOOT" ] && [ "$PPID" = "1" ] ; then exit 0 ; fi

would be a POSIX-conformant version.



Reply to: