[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

script in /etc/rcS.d not running?



Could somebody please teach me why a script living in /etc/init.d
and installed as
    update-rc.d do-rescan-scsi-bus.sh start 23 S .
does not run at initialization time, while the same script installed as
   update-rc.d do-rescan-scsi-bus.sh defaults
does run okay?

I expected that installing my script in rcS.d would be enough, but it
just didn't run at initialization time. Then I discovered the utility
sysvconfig which told me that my script was disabled! Asking it to
enable it made links appear in each of rc*.d, and now it is being ran
at
initialization time okay.

So now I have a workaround yet I don't know what was wrong in my early
expectations. Very frustrating...

This is the same issue as [1] and [2], both unanswered.

Felipe.

[1]
<http://groups.google.ca/group/linux.debian.user/browse_frm/thread/90ac6cbb4879c795/b228b7a9e3e6ab1f?lnk=gst&q=rcS.d&rnum=3#b228b7a9e3e6ab1f>
[2]
<http://groups.google.ca/group/linux.debian.user/browse_frm/thread/1d1e816866332c5c/98585dcc43774bd7?lnk=gst&q=rcS.d&rnum=2#98585dcc43774bd7>



Reply to: