Gitiles
Code Review
Sign In
192.168.1.100
/
T108
/
e958203796650e3959a43708d67534bf36f4c83b
/
.
/
package
/
base-files
/
files
/
etc
/
hotplug.d
/
net
/
00-sysctl
blob: 8abe7f8bbd698dc58716b770fe8bc7f8bd475b58 [
file
] [
log
] [
blame
]
#!/bin/sh
if
[
"$ACTION"
=
add
];
then
for
CONF
in
/
etc
/
sysctl
.
d
/*.
conf
/
etc
/
sysctl
.
conf
;
do
[
!
-
f
"$CONF"
]
&&
continue
;
sed
-
ne
"/^[[:space:]]*net\..*\.$DEVICENAME\./p"
"$CONF"
|
\
sysctl
-
e
-
p
-
|
logger
-
t sysctl
done
fi