[PC-BSD Commits] r2761 - pcbsd/trunk/system-overlay/PCBSD/Services/cpufreq

svn at pcbsd.org svn at pcbsd.org
Fri Sep 12 12:08:25 PDT 2008


Author: ayerenkow
Date: 2008-09-12 12:08:25 -0700 (Fri, 12 Sep 2008)
New Revision: 2761

Modified:
   pcbsd/trunk/system-overlay/PCBSD/Services/cpufreq/restart.sh
   pcbsd/trunk/system-overlay/PCBSD/Services/cpufreq/start.sh
   pcbsd/trunk/system-overlay/PCBSD/Services/cpufreq/stop.sh
Log:
cpufreq service no longer control ssh

Modified: pcbsd/trunk/system-overlay/PCBSD/Services/cpufreq/restart.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/Services/cpufreq/restart.sh	2008-09-12 16:18:56 UTC (rev 2760)
+++ pcbsd/trunk/system-overlay/PCBSD/Services/cpufreq/restart.sh	2008-09-12 19:08:25 UTC (rev 2761)
@@ -2,10 +2,4 @@
 # This script restarts a currently running service
 # Return a "0" on success, or a "1" on failure
 
-/etc/rc.d/sshd restart
-if [ "$?" = "0" ]
-then
-  exit 0
-else
-  exit 1
-fi
+return 0

Modified: pcbsd/trunk/system-overlay/PCBSD/Services/cpufreq/start.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/Services/cpufreq/start.sh	2008-09-12 16:18:56 UTC (rev 2760)
+++ pcbsd/trunk/system-overlay/PCBSD/Services/cpufreq/start.sh	2008-09-12 19:08:25 UTC (rev 2761)
@@ -2,11 +2,5 @@
 # This script starts a stopped service
 # Return 0 on success, or "1" on failure 
 
-/etc/rc.d/sshd start
-if [ "$?" = "0" ]
-then
- return 0
-else
- return 1
-fi
+return 0
 

Modified: pcbsd/trunk/system-overlay/PCBSD/Services/cpufreq/stop.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/Services/cpufreq/stop.sh	2008-09-12 16:18:56 UTC (rev 2760)
+++ pcbsd/trunk/system-overlay/PCBSD/Services/cpufreq/stop.sh	2008-09-12 19:08:25 UTC (rev 2761)
@@ -2,11 +2,5 @@
 # This script stops a started service
 # Return 0 on success, or "1" on failure 
 
-/etc/rc.d/sshd stop
-if [ "$?" = "0" ]
-then
- return 0
-else
- return 1
-fi
+return 0
 



More information about the Commits mailing list