ukui-biometric-auth/pam-biometric/utils/biorestart

9 lines
165 B
Plaintext
Raw Normal View History

2022-06-02 16:34:46 +08:00
#!/bin/bash
if [ `whoami` != 'root' ]; then
echo $(gettext "Permission denied, please run by root")
exit 1
fi
systemctl restart biometric-authentication.service