edit rc.local

pull/40/head
glen 4 years ago
parent 0b0f67765d
commit 54d788a34d

@ -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

Loading…
Cancel
Save