Rivoreo Source Code Repositories
src.rivoreo.one
/
vzctl
/
85c07a6e8347832d179472b5555fee3656a33ee6
/
.
/
scripts
/
vzevent-reboot.in
blob: 019f826fe677716154b43ec994bcebae3e1bdd9b [
file
] [
log
] [
blame
] [
raw
]
#!/bin/sh
I
=
1
while
vzctl
--
quiet status $VEID
|
grep
-
Fw
running
;
do
sleep $I
I
=
$
((
I
+
1
))
test $I
-
gt
10
&&
exit
1
done
if
vzctl
--
quiet status $VEID
|
grep
-
Fw
mounted
;
then
vzctl
--
quiet unmount $VEID
fi
vzctl
--
quiet start $VEID