diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-08-06 10:43:26 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-08-06 10:50:37 (EDT) |
commit | 5419c6f5465c0284412eb9867c729b3a653f8746 (patch) | |
tree | 2ce5108b467116d01aef86d9e6985b09acf943ce /src.etc/init.d/sysctl | |
parent | 96a68750a1ba9791291a94db2f73d1c3b3ffdf20 (diff) |
Add sysctl service script and configuration
Diffstat (limited to 'src.etc/init.d/sysctl')
-rw-r--r-- | src.etc/init.d/sysctl | 10 |
1 files changed, 10 insertions, 0 deletions
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 +} |