diff options
Diffstat (limited to 'target/default/target_skeleton/etc/init.d/S99done')
-rwxr-xr-x | target/default/target_skeleton/etc/init.d/S99done | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/default/target_skeleton/etc/init.d/S99done b/target/default/target_skeleton/etc/init.d/S99done new file mode 100755 index 0000000000..8811e99bff --- /dev/null +++ b/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 |