gcc484ntopperl-5.22
gccoud
|
Last change
on this file since 13a1b25 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 9 years ago
|
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100755
|
|
File size:
338 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | |
|---|
| 3 | cd /etc/vservers |
|---|
| 4 | |
|---|
| 5 | #stop all vservers |
|---|
| 6 | for VSERVER in `/usr/sbin/vserver-stat | sed 's/.* //'|grep -v NAME`; do |
|---|
| 7 | echo -e "\n[ Stopping vserver $VSERVER... ]"; |
|---|
| 8 | if ! /usr/sbin/vserver $VSERVER stop; then |
|---|
| 9 | echo -e "\n[ $VSERVER shutdown FAILED! ]"; |
|---|
| 10 | else |
|---|
| 11 | echo -e "\n[ $VSERVER shutdown OK ]"; |
|---|
| 12 | fi |
|---|
| 13 | done |
|---|
Note: See
TracBrowser
for help on using the repository browser.