Well lookie see this - credit goes to
bnms over on the PlugComputer forums
http://plugcomputer.org/plugforum/index.php?topic=1074.msg11987#msg11987I use Debian Squeeze on an SD card. I changed the /etc/init.d/flashybrid script to read:
Code:
### BEGIN INIT INFO
# Provides: flashybrid
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Should-Start: $local_fs
# Should-Stop: $local_fs
# X-Start-Before: $network
# X-Stop-After: $network
# Default-Start: S
# Default-Stop: 0 6
Thus, the script should be started before networking starts. Then, I removed all the existing links in the other run levels and let insserv recalculate the dependencies:
Code:
cd /etc
rm rc{0,1,2,3,4,5,6}.d/*flashybrid
insserv -v flashybrid
Now, my /etc/rcS.d directory contains:
Code:
...
S14flashybrid
S14procps
S14udev-mtab
S14urandom
S15ifupdown
S16networking
...
Which is where I wanted it to be
Looks good. So that goes into the next disk image version of PlugPBX.
Whoever maintains the debian Flashybrid repository should apply that to the scripts checked into apt for sure.... Would make it much better working out of box for most systems.