diff options
author | Mike Baker <mbm@openwrt.org> | 2007-05-10 10:07:38 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2007-05-10 10:07:38 +0000 |
commit | 291420a8f3552a1b48af4fc7418e5ca15c9ece3d (patch) | |
tree | 9b7d8719ef6ba95938d03930681caa1e730f8b81 /package/base-files/files/etc/init.d/sysctl | |
parent | 15e9bc4f266000ae86b912c3920690d0d3c70b73 (diff) | |
download | upstream-291420a8f3552a1b48af4fc7418e5ca15c9ece3d.tar.gz upstream-291420a8f3552a1b48af4fc7418e5ca15c9ece3d.tar.bz2 upstream-291420a8f3552a1b48af4fc7418e5ca15c9ece3d.zip |
add K* scripts to be run at shutdown
SVN-Revision: 7163
Diffstat (limited to 'package/base-files/files/etc/init.d/sysctl')
-rwxr-xr-x | package/base-files/files/etc/init.d/sysctl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/sysctl b/package/base-files/files/etc/init.d/sysctl new file mode 100755 index 0000000000..35d5e30c75 --- /dev/null +++ b/package/base-files/files/etc/init.d/sysctl @@ -0,0 +1,7 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006 OpenWrt.org + +START=99 +start() { + [ -f /etc/sysctl.conf ] && sysctl -p >&- +} |