summarylogtreecommitdiffstats
path: root/mullvad-daemon.run
diff options
context:
space:
mode:
authorklee2022-11-06 01:42:35 -0400
committerklee2022-11-06 01:42:35 -0400
commit36d5c81c5f243a62c6cbd9f0de25f3723be2a07a (patch)
tree9f47cb788e3c4bdcb372926ebcdcaf5f69db15c5 /mullvad-daemon.run
parent1aa52513746c0d78620873a21c0ff15cd52dfbd2 (diff)
downloadaur-mullvad-vpn-runit.tar.gz
Update sources
Diffstat (limited to 'mullvad-daemon.run')
-rw-r--r--mullvad-daemon.run7
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