openwrtv3/obsolete-buildroot/sources/openwrt/root/etc/init.d/S99done

8 lines
165 B
Text
Raw Normal View History

2004-08-12 05:47:00 +00:00
#!/bin/sh
# automagically run firstboot
2004-08-12 05:47:00 +00:00
[ -z "$FAILSAFE" ] && {
{ mount | grep jffs2 1>&-; } || firstboot
}
# set leds to normal state
2004-08-12 05:47:00 +00:00
echo "0x00" > /proc/sys/diag