1
0
mirror of https://github.com/captn3m0/Scripts.git synced 2024-09-27 22:22:53 +00:00
scripts/yubilock.sh
2017-01-30 16:08:34 +05:30

6 lines
149 B
Bash
Executable File

#!/bin/bash
LOGFILE="/home/nemo/logs/auth.log"
/usr/bin/systemctl start --no-block i3lock.service
echo "`date` locked using Yubikey $?" >> $LOGFILE