Add catch-all for bad verbs

master
BrainwreckedTech 2 years ago
parent 6c0c68dd2e
commit c1c1447d68

@ -15,6 +15,14 @@ case "${1}" in
else
FROM=no; TO=yes;
fi
;;
*)
echo 'Must specify one of the following:'
echo ' [ on | yes | enable | unlock ] to allow interactive passwords'
echo ' [ off | no | disable | lock ] to disallow interactive passwords'
echo ' [ toggle ] to toggle the allowance of interactive passwords'
echo ' [ status ] to show the current state of interactive passwords'
exit 1
;;
esac

Loading…
Cancel
Save