1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

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
This commit is contained in:
nbd
2012-03-20 14:29:50 +00:00
parent 483a02ae41
commit ecce585694
4 changed files with 133 additions and 129 deletions

View File

@@ -3,6 +3,8 @@
# DEBUG="echo"
. /lib/functions/service.sh
do_sysctl() {
[ -n "$2" ] && \
sysctl -n -e -w "$1=$2" >/dev/null || \