overwrite smartmontools defaults

This commit is contained in:
nd 2020-08-08 00:24:28 +02:00
parent b5556712cd
commit 4b57840f9f
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
2 changed files with 19 additions and 0 deletions

13
files/smartmontools Normal file
View file

@ -0,0 +1,13 @@
# Defaults for smartmontools initscript (/etc/init.d/smartmontools)
# This is a POSIX shell fragment
# List of devices you want to explicitly enable S.M.A.R.T. for
# Not needed (and not recommended) if the device is monitored by smartd
#enable_smart="/dev/hda /dev/hdb"
# uncomment to start smartd on system startup
#start_smartd=yes
# uncomment to pass additional options to smartd on startup
#smartd_opts="--interval=1800"
smartd_opts="-q never"

View file

@ -20,3 +20,9 @@
src: dotfiles/screenrc src: dotfiles/screenrc
dest: /etc/screenrc dest: /etc/screenrc
mode: 0644 mode: 0644
- name: work around a debian bug in smartmontools
copy:
src: smartmontools
dest: /etc/default/smartmontools
mode: 0644