aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files-network/files
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
commit6f467047431e3906a54d159ca093f0a0ee6826a1 (patch)
tree48baa7d0f6c3ecab63007a2738d015dba6991b36 /package/base-files-network/files
parenta660a57d71084376688ed034cfe7ea268d67b62c (diff)
downloadupstream-6f467047431e3906a54d159ca093f0a0ee6826a1.tar.gz
upstream-6f467047431e3906a54d159ca093f0a0ee6826a1.tar.bz2
upstream-6f467047431e3906a54d159ca093f0a0ee6826a1.zip
base-files: split service related functions off to /lib/functions/service.sh
SVN-Revision: 31042
Diffstat (limited to 'package/base-files-network/files')
-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 || \