diff options
Diffstat (limited to 'rc.d')
-rw-r--r-- | rc.d/init.d/netconsole | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rc.d/init.d/netconsole b/rc.d/init.d/netconsole index 172a82b9..dda464c1 100644 --- a/rc.d/init.d/netconsole +++ b/rc.d/init.d/netconsole @@ -90,6 +90,7 @@ start () if [ -n "$SYSLOGOPTS" ]; then action $"Initializing netconsole" modprobe netconsole \ $SYSLOGOPTS + [ "$?" != "0" ] && RETVAL=1 fi touch /var/lock/subsys/netconsole } @@ -98,6 +99,7 @@ stop () { if /sbin/lsmod | grep netconsole >/dev/null 2>&1 ; then action $"Disabling netconsole" rmmod netconsole; + [ "$?" != "0" ] && RETVAL=1 fi rm -f /var/lock/subsys/netconsole @@ -130,7 +132,7 @@ condrestart () case "$1" in stop) stop ;; status) status ;; - start|restart|reload) restart ;; + start|restart|reload|force-reload) restart ;; condrestart) condrestart ;; *) usage ;; esac |