mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
functions.network: fix cursor position at status write.
This commit is contained in:
@@ -142,11 +142,13 @@ dhcpcd_stop() {
|
|||||||
# Display console message, depended on the exit code
|
# Display console message, depended on the exit code
|
||||||
# of the stopped dhcpcd.
|
# of the stopped dhcpcd.
|
||||||
if [ "${ret}" -eq 0 ]; then
|
if [ "${ret}" -eq 0 ]; then
|
||||||
|
boot_mesg
|
||||||
echo_ok
|
echo_ok
|
||||||
elif [ "${ret}" -eq 1 ]; then
|
elif [ "${ret}" -eq 1 ]; then
|
||||||
boot_mesg "failed to stop dhcpcd!" ${WARNING}
|
boot_mesg "failed to stop dhcpcd!" ${WARNING}
|
||||||
echo_warning
|
echo_warning
|
||||||
else
|
else
|
||||||
|
boot_mesg
|
||||||
echo_failure
|
echo_failure
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user