blob: 5f6eede936c34af22ec53b86262d8f578b7bcd5d (
plain)
1
2
3
4
5
6
7
8
9
10
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
|