functions.network: fix cursor position at status write.
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 8 Jul 2013 17:58:11 +0000 (19:58 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 8 Jul 2013 17:58:11 +0000 (19:58 +0200)
src/initscripts/init.d/networking/functions.network

index 26cc65c7c7ea4778e84f5fd903f86561692363ab..b1ce220de93595338b47850a32657e429971cce6 100755 (executable)
@@ -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