summaryrefslogtreecommitdiff
path: root/package/qos-scripts/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-05 16:04:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-06-05 16:04:23 +0000
commit9ae901445be2f33658142e401556818edbafaaf7 (patch)
treed8595eead1ed3c62440f17d6398343a1029a5be6 /package/qos-scripts/files
parent9a61b249c5a355ce95747200302e353a0d30bea0 (diff)
downloadmtk-20170518-9ae901445be2f33658142e401556818edbafaaf7.zip
mtk-20170518-9ae901445be2f33658142e401556818edbafaaf7.tar.gz
mtk-20170518-9ae901445be2f33658142e401556818edbafaaf7.tar.bz2
/etc/functions.sh => /lib/functions.sh
SVN-Revision: 32062
Diffstat (limited to 'package/qos-scripts/files')
-rwxr-xr-xpackage/qos-scripts/files/usr/bin/qos-stat2
-rwxr-xr-xpackage/qos-scripts/files/usr/lib/qos/generate.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/qos-scripts/files/usr/bin/qos-stat b/package/qos-scripts/files/usr/bin/qos-stat
index 8a39df0..78d1638 100755
--- a/package/qos-scripts/files/usr/bin/qos-stat
+++ b/package/qos-scripts/files/usr/bin/qos-stat
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright (C) 2011 OpenWrt.org
-. /etc/functions.sh
+. /lib/functions.sh
include /lib/network
diff --git a/package/qos-scripts/files/usr/lib/qos/generate.sh b/package/qos-scripts/files/usr/lib/qos/generate.sh
index bb1d7ed..440b43f 100755
--- a/package/qos-scripts/files/usr/lib/qos/generate.sh
+++ b/package/qos-scripts/files/usr/lib/qos/generate.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-[ -e /etc/functions.sh ] && . /etc/functions.sh || . ./functions.sh
+[ -e /lib/functions.sh ] && . /lib/functions.sh || . ./functions.sh
[ -x /sbin/modprobe ] && {
insmod="modprobe"
rmmod="$insmod -r"