Code: Select all
$sudo update-rc.d script defaults
update-rc.d: using dependency based boot sequencing
update-rc.d: error: unable to read /etc/init.d/script
Hard to read anything that doesn't exist. Where did script go? =P
Was trying to K some services out, but I think I wait.
Is it debian, or raspian that has an unstable update-rc? Can't remember seeing this last line in debian:
Code: Select all
sudo update-rc.d
update-rc.d: using dependency based boot sequencing
update-rc.d: error: not enough arguments
usage: update-rc.d [-n] [-f] <basename> remove
update-rc.d [-n] <basename> defaults [NN | SS KK]
update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
-n: not really
-f: force
The disable|enable API is not stable and might change in the future.