Commit 2d5afccc authored by root's avatar root Committed by Vitaly Lipatov

strange fi

parent 2587c58f
FROMCONT=193 FROMCONT=193
TOCONT="189 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213" TOCONT="189 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 217"
TOHOST=azbykar TOHOST=azbykar
# get IP from vz config # get IP from vz config
......
#!/bin/sh #!/bin/sh
export PATH=/usr/sbin:$PATH
if [ "$1" = "-i" ] ; then if [ "$1" = "-i" ] ; then
shift shift
INTERACTIVE=1 INTERACTIVE=1
...@@ -16,6 +18,6 @@ for id in $(vzlist | sed -e "s| *\([0-9]*\).*|\1|g") ; do ...@@ -16,6 +18,6 @@ for id in $(vzlist | sed -e "s| *\([0-9]*\).*|\1|g") ; do
read n read n
[ -n "$n" ] && [ "$n" != "y" ] && continue [ -n "$n" ] && [ "$n" != "y" ] && continue
fi fi
vzctl exec $id "$@" vzctl exec $id "$*"
echo echo
done done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment