3 echo "S" > /proc/jffs2_bbc
9 ifconfig lo 127.0.0.1 up
12 HOSTNAME=$(nvram get wan_hostname)
13 DOMAINNAME=${HOSTNAME##*.}
14 HOSTNAME=${HOSTNAME%%.*}
16 echo ${HOSTNAME:=OpenWrt} > /proc/sys/kernel/hostname
17 echo ${DOMAINNAME:=lan} > /proc/sys/kernel/domainname
19 vconfig set_name_type VLAN_PLUS_VID_NO_PAD