X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fbootscripts%2Fnetwork;h=70ac088d45df7f1cc8cd2d47a37cd74f0600bb55;hb=a456f5191f6c754379a19ae57fcfc07a5401091f;hp=f42ea1fd700a35daade256ca5d7e779c126f8a45;hpb=7f1a3e5d69d0b1d64619604c30243e0070dc09ad;p=hvlinux.git diff --git a/stage2/bootscripts/network b/stage2/bootscripts/network index f42ea1f..70ac088 100755 --- a/stage2/bootscripts/network +++ b/stage2/bootscripts/network @@ -28,7 +28,7 @@ case "$1" in start) for i in ${INTERFACES_UP}; do if LANG=C egrep -L "^ONBOOT=\"?[Yy][Ee][Ss]\"?" ifconfig.$i >/dev/null 2>&1 ; then - cmd_run_log_box "Ethernet Adapter <$i> init" /etc/rc.d/init.d/ifup "$i" + cmd_run_log_box_warn "Ethernet Adapter <$i> init" /etc/rc.d/init.d/ifup "$i" fi done ;; @@ -36,7 +36,7 @@ case "$1" in stop) for i in ${INTERFACES_DN} ; do if LC_ALL= LANG= ip link show dev $i 2> /dev/null | grep -q "UP" >/dev/null 2>&1 ; then - cmd_run_log_box "Ethernet Adapter <$i> stop" /etc/rc.d/init.d/ifdown "$i" + cmd_run_log_box_warn "Ethernet Adapter <$i> stop" /etc/rc.d/init.d/ifdown "$i" fi done ;;