summaryrefslogtreecommitdiffstats
path: root/package/base-files-network
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-20 14:29:50 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-20 14:29:50 +0000
commitecce58569435cfcd625d4510dc990d35b28e0276 (patch)
tree2bfb0bbedfd3077ca9511c15b831b69fa1a465e0 /package/base-files-network
parent483a02ae41cf8a27a24d447bc17286e0b85c6843 (diff)
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 a58ab1edc..5e8b05909 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 || \