Rivoreo Source Code Repositories
src.rivoreo.one
/
vzctl
/
f757f96e352aab41ff2599ecc0e4598ef0a79769
/
.
/
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