[PC-BSD Commits] r20971 - pcbsd/current/src-qt4/pc-servicemanager

svn at pcbsd.org svn at pcbsd.org
Wed Jan 16 07:34:38 PST 2013


Author: kris
Date: 2013-01-16 15:34:38 +0000 (Wed, 16 Jan 2013)
New Revision: 20971

Modified:
   pcbsd/current/src-qt4/pc-servicemanager/servicemanager.cpp
Log:

Fix the order of searching through rc.conf files, and add rc.conf.pcbsd as
a file to check for settings



Modified: pcbsd/current/src-qt4/pc-servicemanager/servicemanager.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-servicemanager/servicemanager.cpp	2013-01-16 10:22:03 UTC (rev 20970)
+++ pcbsd/current/src-qt4/pc-servicemanager/servicemanager.cpp	2013-01-16 15:34:38 UTC (rev 20971)
@@ -348,7 +348,7 @@
     QStringList rcFiles;
     QString tmp, tmp2;
 
-    rcFiles << wDir + "/etc/rc.conf" << wDir + "/etc/rc.conf.local" << wDir + "/etc/defaults/rc.conf";
+    rcFiles << wDir + "/etc/rc.conf.local" << wDir + "/etc/rc.conf" << wDir + "/etc/rc.conf.pcbsd" << wDir + "/etc/defaults/rc.conf";
 
     // Read in the rc conf files
     for ( int r = 0; r<rcFiles.size(); r++ ) {



More information about the Commits mailing list