summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-12-20 12:59:50 +0000
committeryar <yar@FreeBSD.org>2006-12-20 12:59:50 +0000
commitf022e5fd4fee00b14855475870929edb544ef23f (patch)
tree8e956f3bccefbb7afc9a7efd527d154123b7fd9c
parent6245a01f000f21764a57dcf52469c1fb896e47fe (diff)
downloadFreeBSD-src-f022e5fd4fee00b14855475870929edb544ef23f.zip
FreeBSD-src-f022e5fd4fee00b14855475870929edb544ef23f.tar.gz
Syscons cannot be stopped, so provide a no-op stop method.
The default stop method from rc.subr isn't suited for this case and produces a bogus warning: "syscons not running". Suggested by: matteo
-rw-r--r--etc/rc.d/syscons1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.d/syscons b/etc/rc.d/syscons
index e573dec..d9a4e4c 100644
--- a/etc/rc.d/syscons
+++ b/etc/rc.d/syscons
@@ -38,6 +38,7 @@ extra_commands="setkeyboard"
setkeyboard_cmd="syscons_setkeyboard"
start_precmd="syscons_precmd"
start_cmd="syscons_start"
+stop_cmd=":"
# stdin must be redirected because it might be for a serial console
#
OpenPOWER on IntegriCloud