projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add K* scripts to be run at shutdown
[openwrt.git]
/
package
/
base-files
/
files
/
etc
/
init.d
/
sysctl
diff --git a/package/base-files/files/etc/init.d/sysctl
b/package/base-files/files/etc/init.d/sysctl
new file mode 100755
(executable)
index 0000000..
35d5e30
--- /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 >&-
+}