mirror of
https://github.com/rbreaves/kinto.git
synced 2025-06-27 16:41:45 +02:00
6 lines
167 B
Bash
Executable File
6 lines
167 B
Bash
Executable File
#!/bin/bash
|
|
# /usr/local/bin/logoff.sh
|
|
while true; do
|
|
w | grep -E "$1.*$2" > /dev/null 2>&1 || (sudo systemctl stop xkeysnail && sudo pkill -f logoff)
|
|
sleep 5
|
|
done |