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

9 lines
165 B
Bash
Executable File

#!/bin/bash
if [ `whoami` != 'root' ]; then
echo $(gettext "Permission denied, please run by root")
exit 1
fi
systemctl restart biometric-authentication.service