[Pkg-sysvinit-devel] [PATCH 2/4] update-rc.d: Allow update-rc.d to perform actions on alternative filesystems

Kel Modderman kel at otaku42.de
Mon Jul 14 14:14:33 UTC 2008


On Tuesday 15 July 2008 00:07:13 Henrique de Moraes Holschuh wrote:
> Usually, alternative initscript systems supply their own update-rc.d and
> invoke-rc.d.   That can be a bit more robust, although it IS a lot of code
> duplication.
> 
> What exactly do you intend to do with these changes to sysv-rc's
> update-rc.d?
> 


This particular patch allows to test update-rc.d in a test suite, for example.

You can create /tmp/etc/init.d/, /tmp/etc/rc{S,{0..6}}.d/, put some
scripts in /tmp/etc/init.d/ and then manipulate runlevel links in
/tmp/etc/rc{S,{0..6}}.d/ by supplying /tmp as argument to -d command line
option.

Maybe "alternative filesystems" was poor wording for patch description.

Thanks, Kel.



More information about the Pkg-sysvinit-devel mailing list