summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-04-10 13:27:15 +0000
committererdgeist <erdgeist@erdgeist.org>2006-04-10 13:27:15 +0000
commit02070e2e6cb912e7456860b44cf3f76b20fee803 (patch)
treee7eed4ff624172e59abe18a409344450c26e1994 /ezjail-admin
parente8cfca48730433f90421330710f021ca006a9e70 (diff)
Introduce ugly perl hack.
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin5
1 files changed, 5 insertions, 0 deletions
diff --git a/ezjail-admin b/ezjail-admin
index a8f9e81..9a0bbb7 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -18,6 +18,7 @@ ezjail_jailfull=${ezjail_jailfull:-"${ezjail_jaildir}/fulljail"}
18ezjail_flavours=${ezjail_flavours:-"${ezjail_jaildir}/flavours"} 18ezjail_flavours=${ezjail_flavours:-"${ezjail_jaildir}/flavours"}
19ezjail_sourcetree=${ezjail_sourcetree:-"/usr/src"} 19ezjail_sourcetree=${ezjail_sourcetree:-"/usr/src"}
20ezjail_portscvsroot=${ezjail_portscvsroot:-":pserver:anoncvs@anoncvs.at.FreeBSD.org:/home/ncvs"} 20ezjail_portscvsroot=${ezjail_portscvsroot:-":pserver:anoncvs@anoncvs.at.FreeBSD.org:/home/ncvs"}
21ezjail_uglyperlhack=${ezjail_uglyperlhack:-"YES"}
21 22
22ezjail_mount_enable=${ezjail_mount_enable:-"YES"} 23ezjail_mount_enable=${ezjail_mount_enable:-"YES"}
23ezjail_devfs_enable=${ezjail_devfs_enable:-"YES"} 24ezjail_devfs_enable=${ezjail_devfs_enable:-"YES"}
@@ -389,6 +390,10 @@ setup|update)
389 fi 390 fi
390 fi 391 fi
391 392
393 # The ugly perl hack[tm]. Note: we wont do such things for any given
394 # port :(
395 [ "${ezjail_uglyperlhack}" = "YES" -a ! -L ${ezjail_jailbase}/usr/bin/perl ] && ln -s /usr/local/bin/perl ${ezjail_jailbase}/usr/bin/perl
396
392 ;; 397 ;;
393*) 398*)
394 exerr "Usage: `basename -- $0` [create|delete|list|update] {params}" 399 exerr "Usage: `basename -- $0` [create|delete|list|update] {params}"