diff options
author | erdgeist <erdgeist@erdgeist.org> | 2005-09-27 13:39:30 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2005-09-27 13:39:30 +0000 |
commit | 7908d20e55ba671a7dc2b6df935c226d251b3bd9 (patch) | |
tree | ffe26bf39862a377cb6e4d9d6ac221fc8bd5e4f6 /ezjail-admin | |
parent | 42245e938bfeb958534f68bbc528324fc8339eea (diff) |
Format list more nicely
Diffstat (limited to 'ezjail-admin')
-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) |