1
0
mirror of https://github.com/captn3m0/Scripts.git synced 2024-07-06 05:09:34 +00:00
scripts/yubilock.sh

6 lines
149 B
Bash
Raw 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