diff options
Diffstat (limited to 'openwrt/target/default/target_skeleton/etc/init.d/S99done')
-rwxr-xr-x | openwrt/target/default/target_skeleton/etc/init.d/S99done | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openwrt/target/default/target_skeleton/etc/init.d/S99done b/openwrt/target/default/target_skeleton/etc/init.d/S99done new file mode 100755 index 0000000000..8811e99bff --- /dev/null +++ b/openwrt/target/default/target_skeleton/etc/init.d/S99done @@ -0,0 +1,7 @@ +#!/bin/sh +# automagically run firstboot +[ -z "$FAILSAFE" ] && { + { mount | grep jffs2 1>&-; } || firstboot +} +# set leds to normal state +echo "0x00" > /proc/sys/diag |