There is a small problem with the test command. The rest of the description mentions usb/storage-preinserted, but the test command says usb/storage-automated. I'll try to verify with this oversight corrected.
For reference, here's the correct test command:
checkbox-cli -W <(cat <<EOF `head -n 14 /usr/share/checkbox/data/whitelists/default.whitelist` __usb__ usb/insert usb/storage-preinserted EOF )
There is a small problem with the test command. The rest of the description mentions usb/storage- preinserted, but the test command says usb/storage- automated. I'll try to verify with this oversight corrected.
For reference, here's the correct test command:
checkbox-cli -W <(cat <<EOF checkbox/ data/whitelists /default. whitelist` storage- preinserted
`head -n 14 /usr/share/
__usb__
usb/insert
usb/
EOF
)