Add Tooloop Package and deploy script, fixes #1

This commit is contained in:
2024-06-04 17:21:13 +02:00
parent 6f7254c211
commit 3c38667e3c
9 changed files with 76 additions and 5 deletions
@@ -0,0 +1,9 @@
#!/bin/bash
if [ $(whoami) = 'root' ]; then
su tooloop -c '/assets/presentation/Tooloop\ Kiosk\ Browser --no-sandbox' &
else
/assets/presentation/Tooloop\ Kiosk\ Browser --no-sandbox &
fi
exit 0
@@ -0,0 +1,6 @@
#!/bin/bash
killall su &
killall "Tooloop Kiosk Browser" &
exit 0