step1:Adding a Debian init Script
kitten# update-rc.d network defaults
The defaults option is useful for adding a typical init script
You can also specify the sequence numbers with the default
option by adding the required sequence numbers after the defaults option as a suffix.
kitten# update-rc.d network defaults 20 80
Explicitly Controlling a Debian init Script
kitten# update-rc.d network start 20 2 3 4 5 . stop 20 0 1 6 .
Removing a Debian init Script
kitten# rm -f /etc/init.d/network
kitten# update-rc.d network remove
kitten# update-rc.d network defaults
The defaults option is useful for adding a typical init script
You can also specify the sequence numbers with the default
option by adding the required sequence numbers after the defaults option as a suffix.
kitten# update-rc.d network defaults 20 80
Explicitly Controlling a Debian init Script
kitten# update-rc.d network start 20 2 3 4 5 . stop 20 0 1 6 .
Removing a Debian init Script
kitten# rm -f /etc/init.d/network
kitten# update-rc.d network remove
0 Comments