> 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.