Skip to content

Instantly share code, notes, and snippets.

@symm symm/tler.sh
Created Apr 29, 2018

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.