how to restore the startup scripts after removal
I recently removed the atd service from starting up automatically by giving the following command:
Code:
update-rc.d -f atd remove |
Code:
update-rc.d atd defaults |
Quote:
Code:
root@debian:~# update-rc.d -f atd remove Code:
root@debian:~# update-rc.d atd defaults |
anyone can explain this mystery????:confused: :scratch:
|
Quote:
man update-rc.d , look for defaults This order is a bit tricky to choose, so you should keep the old order in a file or somewhere. To set it back to 89: Code:
update-rc.d atd defaults 89 |
Quote:
Nways, thanks for the reply dude. |
Sorry for being such a pest. But I really don't feel very intuitive if I have to note down the order number (K20,K59,S89,etc) before I remove the scripts by update-rc.d. Looking at the high quality of the Debian Distribution, I am sure the developers of Debian must have thought of some idea/techniques by which we can restore the scripts in their original order??
Thanks |
All times are GMT -5. The time now is 06:52 AM. |