summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2005-09-27 13:39:30 +0000
committererdgeist <erdgeist@erdgeist.org>2005-09-27 13:39:30 +0000
commit7908d20e55ba671a7dc2b6df935c226d251b3bd9 (patch)
treeffe26bf39862a377cb6e4d9d6ac221fc8bd5e4f6
parent42245e938bfeb958534f68bbc528324fc8339eea (diff)
Format list more nicely
-rwxr-xr-xezjail-admin6
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 ;;
187update) 189update)