Update scripts

This commit is contained in:
2024-06-30 18:14:23 -04:00
parent a5cde22362
commit c8de0fbfa4
5 changed files with 18 additions and 10 deletions

View File

@@ -3,6 +3,9 @@
# Place in /usr/share/smartmontools/smartd_warning.d/ or use "DEVICESCAN -m @smartd-notify-all" in /etc/smartd.conf
# Copyright 2021 Bryan C. Roessler
parent="${BASH_SOURCE[0]}"
parent=${parent%/*}
[[ -f $parent/script-functions ]] && . "$parent"/script-functions || exit 1
is_root