From 8216a3f4ec2fa69466855f0d68143396e0a952c0 Mon Sep 17 00:00:00 2001 From: billz Date: Fri, 20 Mar 2020 17:21:07 +0000 Subject: [PATCH] Added load sysctl settings --- installers/common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/installers/common.sh b/installers/common.sh index 4c9ee2c2..12afd03f 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -278,6 +278,7 @@ function default_configuration() { echo "Enabling IP forwarding" sudo touch $raspap_sysctl || install_error "Unable to create ${raspap_sysctl}" echo "net.ipv4.ip_forward = 1" | sudo tee -a $raspap_sysctl || install_error "Unable to append to ${raspap_sysctl}" + sudo sysctl -p $raspap_sysctl || install_error "Unable to load sysctl settings from file" fi echo "Enabling persistent IP tables rules"