summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xezjail-admin3
1 files changed, 3 insertions, 0 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 9e4e8f7..de91655 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -523,6 +523,7 @@ setup|update)
523 # Bump the user for some of the most common errors 523 # Bump the user for some of the most common errors
524 [ -d ${ezjail_sourcetree} ] || exerr "Cannot find your copy of the FreeBSD source tree in ${ezjail_sourcetree}." 524 [ -d ${ezjail_sourcetree} ] || exerr "Cannot find your copy of the FreeBSD source tree in ${ezjail_sourcetree}."
525 [ -e ${ezjail_sourcetree}/Makefile ] || exerr "Your source tree in ${ezjail_sourcetree} seems to be incomplete (Makefile missing)." 525 [ -e ${ezjail_sourcetree}/Makefile ] || exerr "Your source tree in ${ezjail_sourcetree} seems to be incomplete (Makefile missing)."
526 [ "`sysctl -n kern.securelevel`" -gt 0 ] || exerr "You're running in a secure level higher than 0. ezjail will not run correctly."
526 527
527 # Normally fulljail should be renamed by past ezjail-admin commands. 528 # Normally fulljail should be renamed by past ezjail-admin commands.
528 # However those may have failed 529 # However those may have failed
@@ -562,6 +563,8 @@ install)
562 ezjail_dir=${ezjail_ftphost#file://} 563 ezjail_dir=${ezjail_ftphost#file://}
563 [ "${ezjail_dir%%[!/]*}" ] || ezjail_reldir=${PWD} 564 [ "${ezjail_dir%%[!/]*}" ] || ezjail_reldir=${PWD}
564 565
566 [ "`sysctl -n kern.securelevel`" -gt 0 ] || exerr "You're running in a secure level higher than 0. ezjail will not run correctly."
567
565 # ftp servers normally wont provide non-RELEASE-builds 568 # ftp servers normally wont provide non-RELEASE-builds
566 if [ -z "${ezjail_release}" -a "${ezjail_dir}" = "${ezjail_ftphost}" ]; then 569 if [ -z "${ezjail_release}" -a "${ezjail_dir}" = "${ezjail_ftphost}" ]; then
567 ezjail_release=`uname -r` 570 ezjail_release=`uname -r`