> -----Original Message----- > From: Micha Feigin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 27, 2004 4:37 PM > To: debian-user > Subject: rebuilding /etc/rc<n>.d Scripts > > > I just had a system crash (reiserfs) and after fsck everything comes up > fine but looking at lost+found and as a result at the /etc/rc<n>.d > directories it seems that some of the links there were lost (mainly > under /etc/rc6.d). Any automatic way to restore that to the default > depending on the installed packages? (or any other way what the systems > intended those links to be?, I can disable/enable whatever is > non-default later). > > Thanx > >
The easiest way to recover anything from /etc/rc* is to copy it over from another machine you know you haven't changed to much of. With /etc/rc6 that's for shutdown so you can probably just put in a K* for everything in that dir and not harm much. Here's what I have on our debian machine here which hasn't changed since our install K01gdm K01kdm K01xdm K11cron K14ppp K20exim K20inetd K20lpd K20makedev K20ssh K20xfs K25hwclock.sh K30setserial K80nfs-kernel-server K81nfs-common K89atd K89klogd K90sysklogd S10portmap S20sendsigs S30urandom S31umountnfs.sh S35networking S40umountfs S90reboot Ben Yau -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]