[PC-BSD Commits] r7871 - in pcbsd/current/system-overlay/usr: PCBSD/portjail local/etc/rc.d local/share/pcbsd local/share/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Thu Oct 21 14:57:11 PDT 2010


Author: kris
Date: 2010-10-21 14:57:11 -0700 (Thu, 21 Oct 2010)
New Revision: 7871

Added:
   pcbsd/current/system-overlay/usr/local/share/pcbsd/scripts/
   pcbsd/current/system-overlay/usr/local/share/pcbsd/scripts/portjail.sh
Removed:
   pcbsd/current/system-overlay/usr/PCBSD/portjail/portjail.sh
Modified:
   pcbsd/current/system-overlay/usr/local/etc/rc.d/portjail
Log:

Moved portjail.sh, and don't background starting / stopping the script



Modified: pcbsd/current/system-overlay/usr/local/etc/rc.d/portjail
===================================================================
--- pcbsd/current/system-overlay/usr/local/etc/rc.d/portjail	2010-10-21 21:46:02 UTC (rev 7870)
+++ pcbsd/current/system-overlay/usr/local/etc/rc.d/portjail	2010-10-21 21:57:11 UTC (rev 7871)
@@ -19,13 +19,13 @@
 portjail_start()
 {
         echo "Starting Port Jail..."
-	(/usr/PCBSD/portjail/portjail.sh start >/dev/null 2>/dev/null) &
+	/usr/local/share/pcbsd/scripts/portjail.sh start >/dev/null 2>/dev/null
 }
 
 portjail_stop()
 {
         echo "Stoping Port Jail..."
-	(/usr/PCBSD/portjail/portjail.sh stop >/dev/null 2>/dev/null) &
+	/usr/local/share/pcbsd/scripts/portjail.sh stop >/dev/null 2>/dev/null 
 }
 
 run_rc_command "$1"



More information about the Commits mailing list