projects
/
openwrt
/
staging
/
luka.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
package/base-files: change sysctl handling Move /etc/init.d/sysctl to index 00 and...
[openwrt/staging/luka.git]
/
package
/
base-files
/
files
/
etc
/
hotplug.d
/
net
/
00-sysctl
1
#!/bin/sh
2
3
if
[
-f
/
etc
/
sysctl.conf
] && [
"
$ACTION
"
=
add
];
then
4
sed
-ne
"/^[[:space:]]*net\..*\.
$DEVICENAME
\./p"
/
etc
/
sysctl.conf | \
5
sysctl
-e -p
-
| logger
-t
sysctl
6
fi