Rivoreo Source Code Repositories
src.rivoreo.one
/
vzctl
/
27cea49df01174ac16ee98cb9358f0e09ef23f3b
/
.
/
scripts
/
vzevent-reboot.in
blob: afbd7c576288de87221a66c0beaf6636874cff12 [
file
] [
log
] [
blame
] [
raw
]
#!/bin/sh
I
=
1
while
vzctl
--
quiet status $VEID
|
fgrep
-
w running
;
do
sleep $I
I
=
$
((
I
+
1
))
test $I
-
gt
10
&&
exit
1
done
vzctl
--
quiet start $VEID