packages (upstart_native): openssh/opensshd.init - configtest action

jajcus jajcus at pld-linux.org
Mon May 10 08:36:37 CEST 2010


Author: jajcus                       Date: Mon May 10 06:36:37 2010 GMT
Module: packages                      Tag: upstart_native
---- Log message:
- configtest action

---- Files affected:
packages/openssh:
   opensshd.init (1.35.2.2 -> 1.35.2.3) 

---- Diffs:

================================================================
Index: packages/openssh/opensshd.init
diff -u packages/openssh/opensshd.init:1.35.2.2 packages/openssh/opensshd.init:1.35.2.3
--- packages/openssh/opensshd.init:1.35.2.2	Fri May  7 14:32:50 2010
+++ packages/openssh/opensshd.init	Mon May 10 08:36:32 2010
@@ -107,7 +107,7 @@
 	fi
 }
 
-upstart_controlled --except init
+upstart_controlled --except init configtest
 
 RETVAL=0
 # See how we were called.
@@ -132,6 +132,9 @@
 	nls "will use password for the key, you will need to type it on each"
 	nls "reboot."
 	ssh_gen_keys
+	;;
+  configtest)
+	checkconfig
 	;;
   reload|force-reload)
 	if [ -f /var/lock/subsys/sshd ]; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openssh/opensshd.init?r1=1.35.2.2&r2=1.35.2.3&f=u



More information about the pld-cvs-commit mailing list