mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2025-02-26 14:37:45 +07:00
Agent
This commit is contained in:
parent
a7a68dbc80
commit
76ae12575b
@ -49,9 +49,9 @@ _graceful_shutdown(){
|
||||
echo
|
||||
echo "Could not send shutdown command to guest, error: $RESPONSE"
|
||||
|
||||
FILE="${STORAGE}/${BASE}.agent"
|
||||
[ ! -f "$FILE" ] && echo "1" > "$FILE"
|
||||
AGENT_VERSION=$(cat "${FILE}")
|
||||
AGENT="${STORAGE}/${BASE}.agent"
|
||||
[ ! -f "$AGENT" ] && echo "1" > "$AGENT"
|
||||
AGENT_VERSION=$(cat "${AGENT}")
|
||||
|
||||
if ((AGENT_VERSION < 2)); then
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user