15 lines
374 B
Desktop File
15 lines
374 B
Desktop File
[Unit]
|
|
Description=Custom hdparm settings
|
|
ConditionPathExists=/sbin/hdparm
|
|
|
|
[Service]
|
|
# -M = accoustic (128=quiet, 254=fast)
|
|
ExecStart=/sbin/hdparm -M 128 /dev/sdb
|
|
ExecStart=/sbin/hdparm -M 128 /dev/sdc
|
|
# -S = standy timeout (252 = 21 minutes)
|
|
ExecStart=/sbin/hdparm -S 252 /dev/sdb
|
|
ExecStart=/sbin/hdparm -S 252 /dev/sdc
|
|
Type=oneshot
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|