mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-12 16:50:00 +01:00
6 lines
177 B
Bash
6 lines
177 B
Bash
#!/bin/sh
|
|
|
|
if [ -f /etc/sysctl.conf ] && [ "$ACTION" = add ]; then
|
|
sed -ne "/^[[:space:]]*net\..*\.$DEVICENAME\./p" /etc/sysctl.conf | \
|
|
sysctl -e -p - | logger -t sysctl
|
|
fi
|