mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
change DEBUG messages in networking scripts to be more helpful
SVN-Revision: 156
This commit is contained in:
parent
fbdcc34275
commit
ecbdbb6617
obsolete-buildroot/sources/openwrt/root/etc
@ -26,4 +26,5 @@ if_valid () (
|
||||
$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; }
|
||||
)
|
||||
|
@ -49,7 +49,7 @@ NVRAM_lan_proto="static"
|
||||
|
||||
# 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"
|
||||
|
Loading…
Reference in New Issue
Block a user