diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-05-10 10:07:38 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-05-10 10:07:38 +0000 |
commit | 38a2e4b392ba32048ba7da823a18150910792044 (patch) | |
tree | ea264ca0ed05abfa858520b499146473a4caf67d /package/base-files/files/etc/init.d/sysctl | |
parent | f53270adf1a1aa0577bd4571d8ecee22e3b08b54 (diff) |
add K* scripts to be run at shutdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7163 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 >&- +} |