[PC-BSD Commits] r5242 - pcbsd/trunk/system-overlay/usr/PCBSD/portjail

svn at pcbsd.org svn at pcbsd.org
Fri Dec 4 13:47:03 PST 2009


Author: kris
Date: 2009-12-04 13:47:03 -0800 (Fri, 04 Dec 2009)
New Revision: 5242

Modified:
   pcbsd/trunk/system-overlay/usr/PCBSD/portjail/portjail.sh
Log:

Updated portjail.sh script to fix some bugs for the time being



Modified: pcbsd/trunk/system-overlay/usr/PCBSD/portjail/portjail.sh
===================================================================
--- pcbsd/trunk/system-overlay/usr/PCBSD/portjail/portjail.sh	2009-12-04 21:44:56 UTC (rev 5241)
+++ pcbsd/trunk/system-overlay/usr/PCBSD/portjail/portjail.sh	2009-12-04 21:47:03 UTC (rev 5242)
@@ -41,17 +41,17 @@
 
   # Create some hard-links for the portjail
   rm ${PJDIR}/etc/resolv.conf >/dev/null 2>/dev/null
-  ln /etc/resolv.conf ${PJDIR}/etc/resolv.conf
+  cp /etc/resolv.conf ${PJDIR}/etc/resolv.conf
   rm ${PJDIR}/etc/passwd >/dev/null 2>/dev/null
-  ln /etc/passwd ${PJDIR}/etc/passwd
+  cp /etc/passwd ${PJDIR}/etc/passwd
   rm ${PJDIR}/etc/master.passwd >/dev/null 2>/dev/null
-  ln /etc/master.passwd ${PJDIR}/etc/master.passwd
+  cp /etc/master.passwd ${PJDIR}/etc/master.passwd
   rm ${PJDIR}/etc/spwd.db >/dev/null 2>/dev/null
-  ln /etc/spwd.db ${PJDIR}/etc/spwd.db
+  cp /etc/spwd.db ${PJDIR}/etc/spwd.db
   rm ${PJDIR}/etc/pwd.db >/dev/null 2>/dev/null
-  ln /etc/pwd.db ${PJDIR}/etc/pwd.db
+  cp /etc/pwd.db ${PJDIR}/etc/pwd.db
   rm ${PJDIR}/etc/group >/dev/null 2>/dev/null
-  ln /etc/group ${PJDIR}/etc/group
+  cp /etc/group ${PJDIR}/etc/group
 
   # Create our pseudo device for networking
   ifconfig lo1 create



More information about the Commits mailing list