summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6500719)
$DEBUG vconfig add $vif $i 2>/dev/null
}
ifconfig "$1" >/dev/null 2>&1 || [ "${1%%[0-9]}" = "br" ]
$DEBUG vconfig add $vif $i 2>/dev/null
}
ifconfig "$1" >/dev/null 2>&1 || [ "${1%%[0-9]}" = "br" ]
+ [ $? = 0 ] || { echo -e "# $1 ignored: no such interface"; return 1; }
# failsafe if reset is held
[ "$FAILSAFE" = "true" ] && {
# failsafe if reset is held
[ "$FAILSAFE" = "true" ] && {
- echo "### FAILSAFE MODE ####"
+ echo "### YOU ARE IN FAILSAFE MODE ####"
NVRAM_lan_ifname="br0"
NVRAM_lan_ifnames="vlan0 vlan2 eth1 eth2 eth3"
NVRAM_lan_ipaddr="192.168.1.1"
NVRAM_lan_ifname="br0"
NVRAM_lan_ifnames="vlan0 vlan2 eth1 eth2 eth3"
NVRAM_lan_ipaddr="192.168.1.1"