ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live

sparky cvs at pld-linux.org
Mon Mar 20 11:20:07 CET 2006


Author: sparky
Date: Mon Mar 20 11:20:05 2006
New Revision: 7249

Modified:
   ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live
Log:
- option to disable sshd, it is and should be enabled by default


Modified: ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live
==============================================================================
--- ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live	(original)
+++ ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live	Mon Mar 20 11:20:05 2006
@@ -141,6 +141,12 @@
 
 
 ### services #################################################################
+#@nv@	nosshd
+#@			don't start sshd; it's enabled by default
+if cmdopt nosshd || nvopt nosshd; then
+	chkconfig --level 2345 sshd off
+fi
+
 #@nv@	service=<service1>[,<service2>[,<service3>]]
 #@			start service(s) at system startup
 #@@ nonvservice:	Don't start services specified in nvram


More information about the pld-cvs-commit mailing list