Lines of smartd.service.mk from check-in bc20f9df9f that are changed by the sequence of edits moving toward check-in af90e819b1:
1: DAEMON_smartd_COMMAND?=/usr/local/sbin/smartd
2: DAEMON_smartd_ENABLE?=no
3: DAEMON_smartd_FLAGS?=-c /usr/local/etc/smartd.conf
4: DAEMON_smartd_FOREGROUND?=-n
5:
6: smartd: _service
7: test -z "$${DAEMON_$@_ENABLE}" || \
8: test -f /usr/local/etc/smartd.conf || { \
9: echo "MRC:$@> smartd requires config file to start." ; \
bc20f9df9f 2019-10-24 10: false; \
11: }