ukui-biometric-auth/pam-biometric/utils/bioctl

16 lines
322 B
Plaintext
Raw Normal View History

2022-06-02 16:34:46 +08:00
#!/bin/bash
# Usage: bioctl status|enable|disable
if [ "$1" = "enable" ]; then
pkexec /usr/bin/bioctl-helper enable $2
2022-06-02 16:34:46 +08:00
elif [ "$1" = "disable" ]; then
pkexec /usr/bin/bioctl-helper disable $2
2022-06-02 16:34:46 +08:00
elif [ "$1" = "status" ]; then
/usr/bin/bioctl-helper status $2
2022-06-02 16:34:46 +08:00
else
echo "Usage: bioctl status|enable|disable"
fi
exit 0