Initially cd* was just skipped in the checking loop.
This was broken in the last change, which resulted in this script exiting with status badconfig.
Now cd* is only removed when auto is used.
If cd* is specified manually, the script still exits with badconfig.
Fix: apply this patch:
Submitted by: Christoph Mallon
---
sysutils/smartmontools/Makefile | 2 +-
sysutils/smartmontools/files/smart.in | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)

Maintainer of sysutils/smartmontools,
Please note that PR ports/162383 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/162383
--
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org