Re: rebuilding /etc/rc.d Scripts

2004-01-28 Thread Micha Feigin
On Wed, Jan 28, 2004 at 10:10:32AM +0100, Erich Waelde wrote: > Hi again, > > Micha Feigin: > > 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.d > > directories it seems that some of the links there were los

Re: rebuilding /etc/rc.d Scripts

2004-01-28 Thread Cameron Hutchison
Once upon a time Erich Waelde said... > > In principle, apt-get --reinstall install will fix it, but how to > find out all packages having startup links? You could try something like: # cd /var/lib/dpkg/info # grep -l update-rc.d *.postinst | sed 's/.postinst$//' That should give you a list o

RE: rebuilding /etc/rc.d Scripts

2004-01-28 Thread Ben Yau
> -Original Message- > From: Micha Feigin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 27, 2004 4:37 PM > To: debian-user > Subject: rebuilding /etc/rc.d Scripts > > > I just had a system crash (reiserfs) and after fsck everything comes up > fine but loo

Re: rebuilding /etc/rc.d Scripts

2004-01-28 Thread Erich Waelde
Hi again, Micha Feigin: > 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.d > directories it seems that some of the links there were lost (mainly > under /etc/rc6.d). Hm. You use reiserfs AND you have entries

Re: rebuilding /etc/rc.d Scripts

2004-01-28 Thread Erich Waelde
Hi Micha, rc6.d is used at shutdown/halt time. So it is not a big desaster. Anything that remains, will be killed --- unless the link to sendsigs is gone :-) this is what I have for a starter: # cd /etc/rc6.d # ls -l | cut -c56- K01gdm -> ../init.d/gdm K01wdm -> ../init.d/wdm K10iptables -

rebuilding /etc/rc.d Scripts

2004-01-27 Thread Micha Feigin
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.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