Linux-VServer pastebin service

Posted by Bertl on Tue 31st Aug 15:35
download | new post

  1. #! /bin/bash  
  2.  
  3. : ${UTIL_VSERVER_VARS:=/usr/lib64/util-vserver/util-vserver-vars}  
  4. test -e "$UTIL_VSERVER_VARS" || {  
  5.     echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS'  
  6.     exit 1  
  7. }  
  8. . "$UTIL_VSERVER_VARS"  
  9. . "$_LIB_FUNCTIONS"  
  10. . "$__PKGLIBDIR/vserver.functions"  
  11.  
  12.  
  13. getAllVservers tmp  
  14.  
  15. for i in "${tmp[@]}"; do  
  16.         echo $i  
  17. done  
  18.  
  19. exit $res 

Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
Your Name

Remember my name in a cookie