diff options
-rwxr-xr-x | ezjail-admin | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin index 74e5a43..f7c0f63 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -180,8 +180,10 @@ list) | |||
180 | jail_list=`ls $ezjail_jailcfgs` | 180 | jail_list=`ls $ezjail_jailcfgs` |
181 | for jail in $jail_list; do | 181 | for jail in $jail_list; do |
182 | . ${ezjail_jailcfgs}/$jail | 182 | . ${ezjail_jailcfgs}/$jail |
183 | eval jail_ip=\"\$jail_${jail}_ip\"; echo -n "$jail_ip " | 183 | eval jail_ip=\"\$jail_${jail}_ip\" |
184 | eval jail_hostname=\"\$jail_${jail}_hostname\"; echo $jail_hostname | 184 | eval jail_hostname=\"\$jail_${jail}_hostname\" |
185 | eval jail_rootdir=\"\$jail_${jail}_rootdir\" | ||
186 | printf "%-15s %-28s %s\\n" $jail_ip $jail_hostname $jail_rootdir | ||
185 | done | 187 | done |
186 | ;; | 188 | ;; |
187 | update) | 189 | update) |