[PC-BSD Commits] r19630 - pcbsd/current/src-sh/warden/scripts/backend

svn at pcbsd.org svn at pcbsd.org
Wed Oct 10 09:13:00 PDT 2012


Author: kris
Date: 2012-10-10 16:12:59 +0000 (Wed, 10 Oct 2012)
New Revision: 19630

Modified:
   pcbsd/current/src-sh/warden/scripts/backend/listjails.sh
Log:

Do a bit of alignment of text for "warden list" command



Modified: pcbsd/current/src-sh/warden/scripts/backend/listjails.sh
===================================================================
--- pcbsd/current/src-sh/warden/scripts/backend/listjails.sh	2012-10-10 16:07:28 UTC (rev 19629)
+++ pcbsd/current/src-sh/warden/scripts/backend/listjails.sh	2012-10-10 16:12:59 UTC (rev 19630)
@@ -17,8 +17,8 @@
 
 
 # Prints a listing of the available jails
-echo "IP			  HOST		  AUTOSTART	  STATUS     TYPE
----------------------------------------------------------------------------------"
+echo "IP			HOST		AUTOSTART	STATUS     TYPE
+--------------------------------------------------------------------------------"
 
 cd ${JDIR}
 
@@ -61,11 +61,11 @@
   fi
 
   # Pad the variables a bit
-  IP=`echo "${jIP}             " | cut -c 1-25`
-  AUTO=`echo "${AUTO}          " | cut -c 1-15`
+  IP=`echo "${jIP}                 " | cut -c 1-23`
+  AUTO=`echo "${AUTO}              " | cut -c 1-15`
   STATUS=`echo "${STATUS}          " | cut -c 1-10`
-  HOST=`echo "${HOST}          " | cut -c 1-15`
-  TYPE=`echo "${TYPE}          " | cut -c 1-10`
+  HOST=`echo "${HOST}              " | cut -c 1-15`
+  TYPE=`echo "${TYPE}              " | cut -c 1-10`
   
 
   echo -e "${IP} ${HOST} ${AUTO} ${STATUS} ${TYPE}"



More information about the Commits mailing list