Quote:
|
Originally Posted by mrcheeks
Code:
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:
Code:
root@debian:~# update-rc.d -f atd remove
Removing any system startup links for /etc/init.d/atd ...
/etc/rc0.d/K89atd
/etc/rc1.d/K89atd
/etc/rc2.d/S89atd
/etc/rc3.d/S89atd
/etc/rc4.d/S89atd
/etc/rc5.d/S89atd
/etc/rc6.d/K89atd
root@debian:~#
and now when I tried to restore it the output was:
Code:
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
root@debian:~#
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.