Bug #85
closedThe init scripts are not being run because nothing runs them.
100%
Description
There are multiple init scripts under /etc/init.d but they are not being run because none of the inittab run scripts runs that directory to run scripts.
This is easily fixed by adding the attached code to rc1:
Related issues
Updated by Hammel almost 14 years ago
Added to rc1. Need to test with a rootfs rebuild to make sure it gets picked up and actually works.
Updated by Hammel almost 14 years ago
The rc scripts are all wrong. They need to be simplified so that rcS just runs /etc/init.d/S* and that only rcS is called from inittab. Then the bits in /etc/init.d/volatile and /etc/init.d/rc1 can be migrated to proper init scripts (re: files starting with S).
So there should be:
S00dev - Setup /var/volatile if it doesn't exist and mount onto a tmpfs; create /lib/modules/`uname -r`/ if it doesn't exist; Migrate devices to a tmpfs
S01volatile - the new name of the volatile init script originally called from inittab
S02postvolatile - stuff to do after the volatile script completes; this allows easy merge of S01volatile with original Ubuntu volatile script later, if necessary.
Updated by Hammel almost 14 years ago
Scripts implemented. Currently under test.