aboutsummaryrefslogtreecommitdiffstats
path: root/main/rp-pppoe
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2011-08-30 07:19:20 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2011-08-30 07:19:20 +0000
commitc07fe7559b7de53f18fd35194b1122419ef4eaaf (patch)
tree45f3ca8a6b89461976de06c211c3acc179c7d26d /main/rp-pppoe
parent8ba06a905e2a5d3c03d0dfde392dcfe052cd0371 (diff)
downloadaports-c07fe7559b7de53f18fd35194b1122419ef4eaaf.tar.bz2
aports-c07fe7559b7de53f18fd35194b1122419ef4eaaf.tar.xz
main/rp-pppoe: added rp-pppoe.post-install
Diffstat (limited to 'main/rp-pppoe')
-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
+