Fix yubi-unlock

This commit is contained in:
Nemo 2017-06-30 23:57:52 +05:30
parent 07fa3c3a13
commit b0b7526e74
1 changed files with 1 additions and 1 deletions

View File

@ -8,5 +8,5 @@ export DISPLAY=:0
# We only unlock the device if the key matches
if [[ "$YUBIKEY_SERIAL" -eq "$DEVICE_SERIAL" ]]; then
echo "`date` unlocked using yubkikey" >> $LOGFILE
/usr/bin/systemctl stop i3lock.service
xautolock -unlocknow
fi