From: Arne Fitzenreiter Date: Mon, 8 Jul 2013 17:58:11 +0000 (+0200) Subject: functions.network: fix cursor position at status write. X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=29fa14154fc211a4eb91d0c75c041b74fc0bf1fa functions.network: fix cursor position at status write. --- diff --git a/src/initscripts/init.d/networking/functions.network b/src/initscripts/init.d/networking/functions.network index 26cc65c7c..b1ce220de 100755 --- a/src/initscripts/init.d/networking/functions.network +++ b/src/initscripts/init.d/networking/functions.network @@ -142,11 +142,13 @@ dhcpcd_stop() { # Display console message, depended on the exit code # of the stopped dhcpcd. if [ "${ret}" -eq 0 ]; then + boot_mesg echo_ok elif [ "${ret}" -eq 1 ]; then boot_mesg "failed to stop dhcpcd!" ${WARNING} echo_warning else + boot_mesg echo_failure fi fi