SOURCES: netconsole.init - check config before stopping existing one
glen
glen at pld-linux.org
Mon Sep 29 14:57:59 CEST 2008
Author: glen Date: Mon Sep 29 12:57:59 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- check config before stopping existing one
---- Files affected:
SOURCES:
netconsole.init (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SOURCES/netconsole.init
diff -u SOURCES/netconsole.init:1.5 SOURCES/netconsole.init:1.6
--- SOURCES/netconsole.init:1.5 Mon Sep 29 13:25:49 2008
+++ SOURCES/netconsole.init Mon Sep 29 14:57:52 2008
@@ -114,6 +114,7 @@
condrestart() {
if [ -f /var/lock/subsys/netconsole ]; then
+ checkconfig || exit 1
stop
start
else
@@ -132,6 +133,7 @@
stop
;;
restart)
+ checkconfig || exit 1
stop
start
;;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/netconsole.init?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list