diff options
-rw-r--r-- | scripts | 1 | ||||
-rw-r--r-- | src.etc/init.d/sysctl | 10 | ||||
-rw-r--r-- | src.etc/sysctl.conf | 1 |
3 files changed, 12 insertions, 0 deletions
@@ -11,3 +11,4 @@ SYSLOGD syslog enabled TELNETD telnetd disabled - boottime enabled - rc.local enabled +- sysctl enabled diff --git a/src.etc/init.d/sysctl b/src.etc/init.d/sysctl new file mode 100644 index 0000000..c724780 --- /dev/null +++ b/src.etc/init.d/sysctl @@ -0,0 +1,10 @@ +#!/bin/sh /etc/rc.common + +START='80' + +start() +{ + [ -r /etc/sysctl.conf ] || return 0 + log 'Setting kernel sysctl parameters' + sysctl -pq +} diff --git a/src.etc/sysctl.conf b/src.etc/sysctl.conf new file mode 100644 index 0000000..119d730 --- /dev/null +++ b/src.etc/sysctl.conf @@ -0,0 +1 @@ +net.ipv4.ip_forward=1 |