Rebuilding /etc/rc?.d/ links
- by timday
A regular filesystem check on a Debian Lenny system triggered an fsck, and that nuked a handful of links in the /etc/rc?.d hierarchy (unfortunately I didn't keep a list).
The system seems to boot and run normally, but I'm worried its storing up trouble for the future.
Is there an easy (fairly automatic) way of rebuilding this piece of the system ? As I understand it, the links are generally manipulated by package postinst scripts using update-rc.d (and I haven't made any changes from the installed defaults).
Without any better ideas, my plan is one of:
Diff a listing with another similar system to identify which packages need their links repairing.
Wait until the system is upgraded to Squeeze (hopefully not too long :^) and assume the mass package upgrade will restore all the missing links.