b8c8da525b 2019-10-20 1: # vim:ft=make:
b8c8da525b 2019-10-20 2:
8f80b79392 2019-10-20 3: DAEMON_smartd_COMMAND?=/usr/local/sbin/smartd
b8c8da525b 2019-10-20 4: DAEMON_smartd_ENABLE?=no
b8c8da525b 2019-10-20 5: DAEMON_smartd_FLAGS?=-c /usr/local/etc/smartd.conf -n
b8c8da525b 2019-10-20 6:
ebafd89015 2019-10-21 7: smartd: _service
716b0393df 2019-10-21 8: .export DAEMON_$@_ENABLE
716b0393df 2019-10-21 9: test -z "$${DAEMON_$@_ENABLE}" || \
b4e23b21af 2019-10-20 10: test -f /usr/local/etc/smartd.conf || { \
47c6cc1171 2019-10-20 11: echo smartd requires config file to start. ; \
716b0393df 2019-10-21 12: false; \
716b0393df 2019-10-21 13: }