[main]
@type = oneshot
@version = @vers@
@description = "Import ZFS pools by device scanning"
@options = ( !log )
@user = ( root )

[start]
@execute =
(
    if { 66-yeller -cdp devices-zfs-import-scan -1 /dev/console starts... }
    if -nt {

        execl-cmdline -s { zpool import ${cmd_args} }

    }
    66-yeller -fcdp devices-zfs-import-scan -1 /dev/console crashed!
)

[environment]
cmd_args=!-aN -o cachefile=none
