]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/init.d/networking/functions.network
functions.network: fix cursor position at status write.
[people/pmueller/ipfire-2.x.git] / 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