From 8aacbe7fb8487393b9354d58b48dfcf924d01423 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Tue, 29 Oct 2019 16:26:29 -0400 Subject: [PATCH] Add test to rc.local for lokinet -g --- installers/common.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installers/common.sh b/installers/common.sh index 0f5d66e..adafd09 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -264,6 +264,9 @@ function default_configuration() { lines=( 'echo 1 > \/proc\/sys\/net\/ipv4\/ip_forward #RASPAP' + 'if [ ! -f /etc/loki/lokinet.ini ]; then' + 'lokinet -g' + 'fi' "$tablerouteA" "$tablerouteB" #'sudo \/var\/lib\/lokinet\/.\/lokilaunch.sh start #RASPAP'