summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc/init.d/S10boot
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-05-30 19:38:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-05-30 19:38:38 +0000
commitaef3bd9e643498397c2ef33ba17d166e10518d85 (patch)
tree6c15064c011e398e88e169db7e9b3a0b5366aa93 /openwrt/package/base-files/default/etc/init.d/S10boot
parent5b05f4a5ee5fa1dd3246350b6672d05a1aaa7f4d (diff)
downloadmtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.zip
mtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.tar.gz
mtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.tar.bz2
resync with kamikaze
SVN-Revision: 3844
Diffstat (limited to 'openwrt/package/base-files/default/etc/init.d/S10boot')
-rwxr-xr-xopenwrt/package/base-files/default/etc/init.d/S10boot3
1 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/etc/init.d/S10boot b/openwrt/package/base-files/default/etc/init.d/S10boot
index 0cc519d..42bb438 100755
--- a/openwrt/package/base-files/default/etc/init.d/S10boot
+++ b/openwrt/package/base-files/default/etc/init.d/S10boot
@@ -1,4 +1,5 @@
#!/bin/sh
+. /etc/functions.sh
[ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
@@ -16,7 +17,7 @@ for iface in $(/sbin/ifconfig -a | awk '{print $1}' | grep eth); do
/usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug net
done
-sed 's/^[^#]/insmod &/' /etc/modules /etc/modules.d/* 2>&-|ash
+load_modules /etc/modules /etc/modules.d/*
ifconfig lo 127.0.0.1 up
ifconfig eth0 promisc