diff options
Diffstat (limited to 'sh.BSD/init.sh')
-rwxr-xr-x | sh.BSD/init.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sh.BSD/init.sh b/sh.BSD/init.sh index f5e4327a..af712181 100755 --- a/sh.BSD/init.sh +++ b/sh.BSD/init.sh @@ -40,7 +40,7 @@ single_user() { # FreeBSD-7 supports tmpfs now :) mount_svcdir() { local dotmp=false release=false - if [ -e "${RC_SVCDIR}"/deptree ] ; then + if [ -e "${RC_SVCDIR}"/deptree ]; then dotmp=true if ! mount -t tmpfs none "${RC_LIBDIR}"/tmp 2>/dev/null; then try mdconfig -a -t malloc -s 1m -u 1 @@ -56,7 +56,7 @@ mount_svcdir() { try newfs -b 4096 -i 1024 -n /dev/md0 try mount -o rw,noexec,nosuid /dev/md0 "${RC_SVCDIR}" fi - if ${dotmp} ; then + if ${dotmp}; then cp -p "${RC_LIBDIR}"/tmp/deptree "${RC_LIBDIR}"/tmp/depconfig \ "${RC_LIBDIR}"/tmp/nettree "${RC_SVCDIR}" 2>/dev/null try umount "${RC_LIBDIR}"/tmp |