Created
April 29, 2018 10:33
-
-
Save symm/e6a0a46801bbcc7de277b35a01d432a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# File: /usr/local/etc/rc.d/tler.sh | |
# Enable TLER for drives on boot of Synology | |
case $1 in | |
start) | |
smartctl -d sat -l scterc,70,70 /dev/sda | |
smartctl -d sat -l scterc,70,70 /dev/sdb | |
;; | |
stop) | |
echo . | |
;; | |
*) | |
echo "Usage: $0 [start|stop]" | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment