#!/bin/execlineb -P
envfile /etc/s6/config/smartd.conf
importas -sCuD "" SMARTD_OPTS SMARTD_OPTS
fdmove -c 2 1
exec smartd -d ${SMARTD_OPTS}