From 8313cd36ec7db8dcdb44c0dcca295a20d66c149b Mon Sep 17 00:00:00 2001
From: erdgeist <erdgeist@erdgeist.org>
Date: Mon, 1 Apr 2013 15:15:06 +0000
Subject: We now read and dump the jail_JAIL_parameters variable. So user
 settings dont get lost. Thanks to Vitaliy.

---
 ezjail-admin | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ezjail-admin b/ezjail-admin
index e4646e8..82eac3d 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -180,6 +180,7 @@ writejailinfo () {
   echo export jail_${ezjail_safename}_zfs_datasets=\"${ezjail_zfs_datasets}\"
   echo export jail_${ezjail_safename}_cpuset=\"${ezjail_cpuset}\"
   echo export jail_${ezjail_safename}_fib=\"${ezjail_fib}\"
+  echo export jail_${ezjail_safename}_parameters=\"${ezjail_parameters}\"
 
   ) > "${ezjail_destconf}"
 
@@ -227,6 +228,7 @@ fetchjailinfo () {
   eval ezjail_zfs_datasets=\"\$jail_${ezjail_safename}_zfs_datasets\"
   eval ezjail_cpuset=\"\$jail_${ezjail_safename}_cpuset\"
   eval ezjail_fib=\"\$jail_${ezjail_safename}_fib\"
+  eval ezjail_parameters=\"\$jail_${ezjail_safename}_parameters\"
 
   ezjail_softlink=${ezjail_jaildir}/`basename -- "${ezjail_rootdir}"`
   ezjail_devicelink="${ezjail_rootdir}.device"
-- 
cgit v1.2.3