diff options
author | erdgeist <erdgeist@erdgeist.org> | 2006-01-18 20:18:22 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2006-01-18 20:18:22 +0000 |
commit | ed092c111203ef0420bb159d8fb6f1b33ea01647 (patch) | |
tree | 6dd247ef59838b3394a7284f3ef509e513881eb9 /ezjail-admin | |
parent | 468db0dfb5451ebbdf26dfd25a46ff86e0da3d05 (diff) |
extra sanity checks
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-x | ezjail-admin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ezjail-admin b/ezjail-admin index dd3a5ce..23b54f5 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -260,6 +260,7 @@ setup|update) | |||
260 | mkdir -p ${ezjail_jailbase}/usr ${ezjail_jailbase}/config/pkg | 260 | mkdir -p ${ezjail_jailbase}/usr ${ezjail_jailbase}/config/pkg |
261 | for a in bin lib libexec sbin usr/bin usr/include usr/lib usr/libexec usr/sbin usr/src usr/share; do | 261 | for a in bin lib libexec sbin usr/bin usr/include usr/lib usr/libexec usr/sbin usr/src usr/share; do |
262 | find ${a} | cpio -d -p -v ${ezjail_jailbase}; | 262 | find ${a} | cpio -d -p -v ${ezjail_jailbase}; |
263 | [ $? = 0 ] || exerr "Installation of ${a} failed." | ||
263 | chflags -R noschg ${a}; rm -r ${a}; ln -s /basejail/${a} ${a} | 264 | chflags -R noschg ${a}; rm -r ${a}; ln -s /basejail/${a} ${a} |
264 | done | 265 | done |
265 | mkdir basejail | 266 | mkdir basejail |