ITA translation
This commit is contained in:
parent
c0e6c15da4
commit
57cab356e7
|
@ -40,7 +40,7 @@ alive() {
|
||||||
local WAIT=$((3600 + $RANDOM % 7200)) # from 1 to 2 hours
|
local WAIT=$((3600 + $RANDOM % 7200)) # from 1 to 2 hours
|
||||||
local TIMEOUT="600" # 10 minutes wait before dismounting the tape
|
local TIMEOUT="600" # 10 minutes wait before dismounting the tape
|
||||||
while [ $PID_ALIVE -eq 1 ]; do
|
while [ $PID_ALIVE -eq 1 ]; do
|
||||||
log "ALIVE [$$] - Waiting ${WAIT} secondi..."
|
log "ALIVE [$$] - Waiting ${WAIT} seconds..."
|
||||||
sleep "${WAIT}"
|
sleep "${WAIT}"
|
||||||
log "ALIVE [$$] - Trying to unload drive ${3} into slot ${2} (Timeout: ${TIMEOUT} seconds)..."
|
log "ALIVE [$$] - Trying to unload drive ${3} into slot ${2} (Timeout: ${TIMEOUT} seconds)..."
|
||||||
timeout "${TIMEOUT}" mtx -f "${1}" unload "${2}" "${3}" # Kill after ${TIMEOUT} seconds
|
timeout "${TIMEOUT}" mtx -f "${1}" unload "${2}" "${3}" # Kill after ${TIMEOUT} seconds
|
||||||
|
|
Loading…
Reference in New Issue