2 # Copyright (C) 2006 OpenWrt.org
6 [ -f /proc
/mounts
] ||
/sbin
/mount_root
7 [ -f /proc
/jffs2_bbc
] && echo "S" > /proc
/jffs2_bbc
8 vconfig set_name_type DEV_PLUS_VID_NO_PAD
10 HOSTNAME
=${wan_hostname%%.*}
11 echo ${HOSTNAME:=OpenWrt}>/proc
/sys
/kernel
/hostname
17 touch /var
/log
/lastlog
18 [ "$FAILSAFE" = "true" ] && touch /tmp
/.failsafe
20 # manually trigger hotplug before loading modules
21 for iface
in $
(awk -F: '/:/ {print $1}' /proc
/net
/dev
); do
22 /usr
/bin
/env
-i ACTION
=add INTERFACE
="$iface" /sbin
/hotplug net
25 load_modules
/etc
/modules
/etc
/modules.d
/*