diff options
author | klee | 2022-11-06 01:42:35 -0400 |
---|---|---|
committer | klee | 2022-11-06 01:42:35 -0400 |
commit | 36d5c81c5f243a62c6cbd9f0de25f3723be2a07a (patch) | |
tree | 9f47cb788e3c4bdcb372926ebcdcaf5f69db15c5 /mullvad-daemon.run | |
parent | 1aa52513746c0d78620873a21c0ff15cd52dfbd2 (diff) | |
download | aur-mullvad-vpn-runit.tar.gz |
Update sources
Diffstat (limited to 'mullvad-daemon.run')
-rw-r--r-- | mullvad-daemon.run | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mullvad-daemon.run b/mullvad-daemon.run new file mode 100644 index 000000000000..0cd93ff73212 --- /dev/null +++ b/mullvad-daemon.run @@ -0,0 +1,7 @@ +#!/bin/sh +## Uncomment this and comment out the NetworkManager line if you don't use NetworkManager +# [ "$(ip route | awk '/^default/{print ($3!="")+($5!="")}')" = "2" ] || exit 1 # From the ntpd-runit script +sv check NetworkManager >/dev/null || exit 1 + +[ -r conf ] && . ./conf +exec /usr/bin/mullvad-daemon -v --disable-stdout-timestamps >/dev/null 2>&1 |