[PC-BSD Commits] r15652 - pcbsd/current/src-qt4/warden/scripts/rc.d

svn at pcbsd.org svn at pcbsd.org
Wed Feb 29 09:05:29 PST 2012


Author: kris
Date: 2012-02-29 17:05:29 +0000 (Wed, 29 Feb 2012)
New Revision: 15652

Modified:
   pcbsd/current/src-qt4/warden/scripts/rc.d/shutdown.sh
   pcbsd/current/src-qt4/warden/scripts/rc.d/startup.sh
   pcbsd/current/src-qt4/warden/scripts/rc.d/wardenrc
Log:

Cleanup startup / shutdown rc.d scripts



Modified: pcbsd/current/src-qt4/warden/scripts/rc.d/shutdown.sh
===================================================================
--- pcbsd/current/src-qt4/warden/scripts/rc.d/shutdown.sh	2012-02-29 17:01:59 UTC (rev 15651)
+++ pcbsd/current/src-qt4/warden/scripts/rc.d/shutdown.sh	2012-02-29 17:05:29 UTC (rev 15652)
@@ -6,7 +6,7 @@
 export PATH
 
 # Source our functions
-PROGDIR="${1}"
+PROGDIR="/usr/local/share/warden"
 
 if [ -z "${PROGDIR}" ]
 then

Modified: pcbsd/current/src-qt4/warden/scripts/rc.d/startup.sh
===================================================================
--- pcbsd/current/src-qt4/warden/scripts/rc.d/startup.sh	2012-02-29 17:01:59 UTC (rev 15651)
+++ pcbsd/current/src-qt4/warden/scripts/rc.d/startup.sh	2012-02-29 17:05:29 UTC (rev 15652)
@@ -6,7 +6,7 @@
 export PATH
 
 # Source our functions
-PROGDIR="${1}"
+PROGDIR="/usr/local/share/warden"
 
 if [ -z "${PROGDIR}" ]
 then

Modified: pcbsd/current/src-qt4/warden/scripts/rc.d/wardenrc
===================================================================
--- pcbsd/current/src-qt4/warden/scripts/rc.d/wardenrc	2012-02-29 17:01:59 UTC (rev 15651)
+++ pcbsd/current/src-qt4/warden/scripts/rc.d/wardenrc	2012-02-29 17:05:29 UTC (rev 15652)
@@ -19,13 +19,13 @@
 warden_start()
 {
   PROGDIR="/usr/local/share/warden"
-  $PROGDIR/scripts/rc.d/startup.sh "${PROGDIR}"
+  $PROGDIR/scripts/rc.d/startup.sh
 }
 
 warden_stop()
 {
   PROGDIR="/usr/local/share/warden"
-  $PROGDIR/scripts/rc.d/shutdown.sh "${PROGDIR}"
+  $PROGDIR/scripts/rc.d/shutdown.sh
 }
 
 run_rc_command "$1"



More information about the Commits mailing list