aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files-network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-20 14:29:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-03-20 14:29:50 +0000
commitb64a2fe1e972b91cb04d24d157f8ae70b3689fb5 (patch)
tree2bfb0bbedfd3077ca9511c15b831b69fa1a465e0 /package/base-files-network
parentf33b5960c7357a5181b725baf3672fa97d071331 (diff)
downloadmaster-187ad058-b64a2fe1e972b91cb04d24d157f8ae70b3689fb5.tar.gz
master-187ad058-b64a2fe1e972b91cb04d24d157f8ae70b3689fb5.tar.bz2
master-187ad058-b64a2fe1e972b91cb04d24d157f8ae70b3689fb5.zip
base-files: split service related functions off to /lib/functions/service.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31042 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files-network')
-rwxr-xr-xpackage/base-files-network/files/lib/network/config.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files-network/files/lib/network/config.sh b/package/base-files-network/files/lib/network/config.sh
index a58ab1edcf..5e8b05909c 100755
--- a/package/base-files-network/files/lib/network/config.sh
+++ b/package/base-files-network/files/lib/network/config.sh
@@ -3,6 +3,8 @@
# DEBUG="echo"
+. /lib/functions/service.sh
+
do_sysctl() {
[ -n "$2" ] && \
sysctl -n -e -w "$1=$2" >/dev/null || \