[Initng-svn] r2735 - initng

svn at initng.thinktux.net svn at initng.thinktux.net
Fri Jan 6 13:33:45 CET 2006


Author: trigger
Date: Fri Jan  6 13:33:44 2006
New Revision: 2735

Modified:
   initng/gen_system_runlevel
Log:
Don't add all services from sysvinit on Debian - somewill fail. Users should add some manuylly for now and report broken services. Otherwise they will immediately stop using initng maybe

Modified: initng/gen_system_runlevel
==============================================================================
--- initng/gen_system_runlevel	(original)
+++ initng/gen_system_runlevel	Fri Jan  6 13:33:44 2006
@@ -275,8 +275,10 @@
 #These calls SHOULD work on every distro, I've just tested it on Fedora this far.
 #If/when this works on all other thistros, we should be able to obsolete some
 #of the crap above. /Daniel
-get_default_sysvinit_runlevel
-copy_sysvinit_services $? "default" "daemon"
+if [ ! -f /etc/debian_version ] ; then
+    get_default_sysvinit_runlevel
+    copy_sysvinit_services $? "default" "daemon"
+fi
 }
 
 echo "Automatically generating system,runlevel and default.runlevel"


More information about the Initng-svn mailing list