projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hacks to run firstboot automatically
[openwrt/svn-archive/archive.git]
/
root
/
etc
/
init.d
/
S99done
diff --git
a/root/etc/init.d/S99done
b/root/etc/init.d/S99done
index c5211813fb6e9482aa392b931114850233d83f5b..3ba15e8bc46d51d8ab65b29a2014f6f4eb6cc161 100755
(executable)
--- a/
root/etc/init.d/S99done
+++ b/
root/etc/init.d/S99done
@@
-1,3
+1,6
@@
#!/bin/sh
+[ -z "$FAILSAFE" ] && {
+ { mount | grep jffs2 1>-; } || firstboot
+}
# turn off DMZ led
echo "0x00" > /proc/sys/diag