Originally Posted by mrcheeks
update-rc.d atd defaults
yeah I was aware of this command but the Number after S/K are different for e.g. when I removed atd the output was:
root@debian:~# update-rc.d -f atd remove
Removing any system startup links for /etc/init.d/atd ...
and now when I tried to restore it the output was:
root@debian:~# update-rc.d atd defaults
Adding system startup for /etc/init.d/atd ...
/etc/rc0.d/K20atd -> ../init.d/atd
/etc/rc1.d/K20atd -> ../init.d/atd
/etc/rc6.d/K20atd -> ../init.d/atd
/etc/rc2.d/S20atd -> ../init.d/atd
/etc/rc3.d/S20atd -> ../init.d/atd
/etc/rc4.d/S20atd -> ../init.d/atd
/etc/rc5.d/S20atd -> ../init.d/atd
The nuber 89 got changed to 20 i.e. means the order in which this service will start will now be different than what it was previosuly. So therefore I was looking for a way which we can restore the service exactly the way it was.