[PC-BSD Commits] r7368 - pcbsd/stable/system-overlay/usr/PCBSD/portjail

svn at pcbsd.org svn at pcbsd.org
Mon Aug 9 11:36:08 PDT 2010


Author: fatmice
Date: 2010-08-09 11:36:08 -0700 (Mon, 09 Aug 2010)
New Revision: 7368

Modified:
   pcbsd/stable/system-overlay/usr/PCBSD/portjail/portjail.sh
Log:
Add /etc/localtime so jail time will be sync'ed with host

Modified: pcbsd/stable/system-overlay/usr/PCBSD/portjail/portjail.sh
===================================================================
--- pcbsd/stable/system-overlay/usr/PCBSD/portjail/portjail.sh	2010-08-09 18:34:30 UTC (rev 7367)
+++ pcbsd/stable/system-overlay/usr/PCBSD/portjail/portjail.sh	2010-08-09 18:36:08 UTC (rev 7368)
@@ -52,7 +52,10 @@
   cp /etc/pwd.db ${PJDIR}/etc/pwd.db
   rm ${PJDIR}/etc/group >/dev/null 2>/dev/null
   cp /etc/group ${PJDIR}/etc/group
+  rm ${PJDIR}/etc/localtime >/dev/null 2>/dev/null
+  cp /etc/localtime ${PJDIR}/etc/localtime
 
+
   # Create our pseudo device for networking
   ifconfig lo1 create
   ifconfig lo1 inet ${PJIP} netmask 255.255.255.0 



More information about the Commits mailing list