projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
default value for *_device in scan_interfaces
[openwrt.git]
/
package
/
base-files
/
default
/
etc
/
init.d
/
S10boot
diff --git
a/package/base-files/default/etc/init.d/S10boot
b/package/base-files/default/etc/init.d/S10boot
index
e0d15db
..
19420ed
100755
(executable)
--- a/
package/base-files/default/etc/init.d/S10boot
+++ b/
package/base-files/default/etc/init.d/S10boot
@@
-1,15
+1,18
@@
#!/bin/sh
#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
. /etc/functions.sh
[ -f /proc/mounts ] || /sbin/mount_root
[ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc
. /etc/functions.sh
[ -f /proc/mounts ] || /sbin/mount_root
[ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc
-vconfig set_name_type
VLAN
_PLUS_VID_NO_PAD
+vconfig set_name_type
DEV
_PLUS_VID_NO_PAD
HOSTNAME=${wan_hostname%%.*}
echo ${HOSTNAME:=OpenWrt}>/proc/sys/kernel/hostname
mkdir -p /var/run
mkdir -p /var/log
HOSTNAME=${wan_hostname%%.*}
echo ${HOSTNAME:=OpenWrt}>/proc/sys/kernel/hostname
mkdir -p /var/run
mkdir -p /var/log
+mkdir -p /var/lock
touch /var/log/wtmp
touch /var/log/lastlog
[ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
touch /var/log/wtmp
touch /var/log/lastlog
[ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
This page took
0.024097 seconds
and
4
git commands to generate.