[Pkg-sysvinit-devel] Bug#477498: general: Unmounting network filesystems solution (for me at least)

Petter Reinholdtsen pere at hungry.com
Mon Oct 20 11:57:04 UTC 2008


[Alex]
> In runlevels 0 (shutdown) and 6 (reboot), umountnfs.sh is the link
> target of S31umountnfs.sh - hence it gets called with the 'start'
> argument and does nothing. Renaming the links to K31umountnfs.sh (so
> that the script is called with 'stop' argument) solved the problem
> for me.

Note that for sysv-rc at least, runlevels 0 and 6 are not handled like
the other runlevels.  All start symlinks are called with the stop
argument.  So K* and S* symlinks are treated the same way for these
runlevels.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list