diff --git a/installers/common.sh b/installers/common.sh index 8ebf09c..d21cd6d 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -276,12 +276,14 @@ function default_configuration() { # #RASPAP is for removal lines=( - 'if ! [cat \/sys\/class\/net\/eth0\/carrier] ; then' - '\/var\/lib\/lokinet\/mobile.sh' - 'fi' + 'echo 1 > \/proc\/sys\/net\/ipv4\/ip_forward #RASPAP' "$tablerouteA" "$tablerouteB" + 'if ! [cat \/sys\/class\/net\/eth0\/carrier] ; then' + '\/var\/lib\/lokinet\/mobile.sh' + 'fi' + ) for line in "${lines[@]}"; do