4 [ "$(uname -r|grep -c 2.4)" = "1" ] && {
5 echo "S" > /proc
/jffs2_bbc
8 vconfig set_name_type VLAN_PLUS_VID_NO_PAD
10 HOSTNAME
=$
(nvram get wan_hostname
)
11 HOSTNAME
=${HOSTNAME%%.*}
12 echo ${HOSTNAME:=OpenWrt}>/proc
/sys
/kernel
/hostname
17 touch /var
/log
/lastlog
18 [ "$FAILSAFE" = "true" ] && touch /tmp
/.failsafe
20 for iface
in $
(/sbin
/ifconfig
-a |
awk '{print $1}' |
grep eth
); do
21 /usr
/bin
/env
-i ACTION
=add INTERFACE
="$iface" /sbin
/hotplug net
24 sed 's/^[^#]/insmod &/' /etc
/modules
/etc
/modules.d
/* 2>&-|ash
26 ifconfig lo
127.0.0.1 up