projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix openswan dependencies
[openwrt.git]
/
openwrt
/
target
/
default
/
target_skeleton
/
etc
/
init.d
/
S10boot
diff --git
a/openwrt/target/default/target_skeleton/etc/init.d/S10boot
b/openwrt/target/default/target_skeleton/etc/init.d/S10boot
index
1a36583
..
e1f47ba
100755
(executable)
--- a/
openwrt/target/default/target_skeleton/etc/init.d/S10boot
+++ b/
openwrt/target/default/target_skeleton/etc/init.d/S10boot
@@
-35,3
+35,8
@@
HOSTNAME=${HOSTNAME%%.*}
echo ${HOSTNAME:=OpenWrt} > /proc/sys/kernel/hostname
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
+
+# automagically run firstboot
+[ -z "$FAILSAFE" ] && {
+ { mount | grep jffs2 1>&-; } || firstboot
+}
This page took
0.025843 seconds
and
4
git commands to generate.