aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/rp-pppoe/rp-pppoe.post-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/rp-pppoe/rp-pppoe.post-install b/main/rp-pppoe/rp-pppoe.post-install
new file mode 100644
index 0000000000..b0061fcf0c
--- /dev/null
+++ b/main/rp-pppoe/rp-pppoe.post-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+sed -i -r 's/^\s*(net\.ipv4\.ip_forward.*)/net.ipv4.ip_forward=1/' /etc/sysctl.conf
+exit 0
+