Permalink
Browse files

Fix a typo

  • Loading branch information...
1 parent f6a71e9 commit 29f8f9da5031c753343b17f1a290610113851197 @kmoore134 kmoore134 committed Aug 21, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 src-sh/warden/scripts/backend/functions.sh
View
7 src-sh/warden/scripts/backend/functions.sh
@@ -185,6 +185,13 @@ isDirMounted() {
# Mount all the FS needed for a PBI container
mountpbibox() {
+ # Update the user files on the portjail
+ ETCFILES="resolv.conf passwd master.passwd spwd.db pwd.db group localtime"
+ for file in ${ETCFILES}; do
+ rm ${JDIR}/${1}/etc/${file} >/dev/null 2>&1
+ cp /etc/${file} ${JDIR}/${1}/etc/${file}
+ done
+
for nullfs_mount in ${NULLFS_MOUNTS}; do
if [ ! -d "${JDIR}/${1}${nullfs_mount}" ] ; then
mkdir -p "${JDIR}/${1}${nullfs_mount}"

0 comments on commit 29f8f9d

Please sign in to comment.