mirror of https://github.com/captn3m0/Scripts.git
Fix yubi-unlock
This commit is contained in:
parent
07fa3c3a13
commit
b0b7526e74
|
@ -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
|
Loading…
Reference in New Issue