scripts/yubilock.sh

6 lines
149 B
Bash
Raw Permalink Normal View History

2016-05-22 18:09:35 +00:00
#!/bin/bash
2016-12-21 11:48:37 +00:00
LOGFILE="/home/nemo/logs/auth.log"
/usr/bin/systemctl start --no-block i3lock.service
2016-12-21 11:48:37 +00:00
echo "`date` locked using Yubikey $?" >> $LOGFILE