summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default/target_skeleton/etc/init.d/S99done
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/default/target_skeleton/etc/init.d/S99done')
-rwxr-xr-xopenwrt/target/default/target_skeleton/etc/init.d/S99done7
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 000000000..8811e99bf
--- /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