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