SVN-Revision: 1750
@ -1,6 +1,6 @@
#!/bin/sh
. /etc/functions.sh
[ -e /etc/config/network ] && . /etc/config/network
[ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network
case "$1" in
start|restart)
ifup lan
@ -5,7 +5,7 @@ ${FAILSAFE:+exit}
. /etc/network.overrides
WAN=$(nvram get wan_ifname)
LAN=$(nvram get lan_ifname)
@ -1,7 +1,7 @@
[ -e /etc/config/network] && . /etc/config/network
# interface to use for DHCP
iface=lan
@ -2,7 +2,7 @@
[ $# = 0 ] && { echo " $0 <group>"; exit; }
type=$1
debug "### ifdown $type ###"
if=$(nvram get ${type}_ifname)
debug "### ifup $type ###"