I am here again with a question on CRUX. This time, neither any kernel, nor any install, just where have all bootscripts gone. /etc/init.d is not present and /etc/rc.d contains the services. Where to place this script to make it bootable at boot time:
Code:
#!/bin/bash
### if you compiled the speedtouch driver as a
### module, uncomment this modprobe
#modprobe speedtch
count=0
while [[ $((count++)) -lt 40 ]]
do
if dmesg | grep 'ADSL line is up'
then
br2684ctl -b -c 0 -a VP.VC
sleep 2
ip addr add 192.168.0.1/32 dev nas0
ip link set nas0 up
sleep 5
pppd call speedtch
exit 0
fi
sleep 1
done
echo "The SpeedTouch firmware did not load"