On Jan 9, 2004, at 18:44, Stephen Gran wrote:
Actually, it's the opposite I'm looking to achieve - run at boot, but don't run on upgrade. The RUN_package_AT_BOOT was an idea from someone else. The only part I am concerned with is finding out whether the script is being called at boot or on upgrade.
Fix the package to use invoke-rc.d in its maintainer scripts, then do your don't-run-at-upgrade policy from invoke-rc.d
Look in the invoke-rc.d manpage, under 'INIT SCRIPT POLICY'. Is that what you're looking for?