diff options
Diffstat (limited to 'weresync-daemon-gui.sh')
-rwxr-xr-x | weresync-daemon-gui.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/weresync-daemon-gui.sh b/weresync-daemon-gui.sh new file mode 100755 index 000000000000..5f6eede936c3 --- /dev/null +++ b/weresync-daemon-gui.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +if command -v pkexec; then + pkexec systemctl start weresync +else + echo "pkexec not found, just attempting to start gui." +fi +/usr/bin/weresync-gui-only +if command -v pkexec; then + pkexec systemctl stop weresync +fi |