summaryrefslogtreecommitdiff
path: root/target/linux/rb532/base-files/sbin
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2012-12-19 16:07:50 +0000
committerMirko Vogt <mirko@openwrt.org>2012-12-19 16:07:50 +0000
commite34a4e0c7b64aa2cc9ccd1b3f69a16db921daf77 (patch)
tree479a4332ce596ec672fc4ba28112ad32f6f4c9df /target/linux/rb532/base-files/sbin
parent439a869090282f229cf0edb41cc2d6e94f02b5c2 (diff)
downloadmtk-20170518-e34a4e0c7b64aa2cc9ccd1b3f69a16db921daf77.zip
mtk-20170518-e34a4e0c7b64aa2cc9ccd1b3f69a16db921daf77.tar.gz
mtk-20170518-e34a4e0c7b64aa2cc9ccd1b3f69a16db921daf77.tar.bz2
Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
Diffstat (limited to 'target/linux/rb532/base-files/sbin')
-rwxr-xr-xtarget/linux/rb532/base-files/sbin/cf2nand2
-rwxr-xr-xtarget/linux/rb532/base-files/sbin/wget2nand2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/rb532/base-files/sbin/cf2nand b/target/linux/rb532/base-files/sbin/cf2nand
index 60542de..0bfc259 100755
--- a/target/linux/rb532/base-files/sbin/cf2nand
+++ b/target/linux/rb532/base-files/sbin/cf2nand
@@ -1,5 +1,5 @@
#!/bin/sh
-. /etc/functions.sh
+. /lib/functions.sh
copy_kernel() {
local input="$1"
diff --git a/target/linux/rb532/base-files/sbin/wget2nand b/target/linux/rb532/base-files/sbin/wget2nand
index 57f4128..9a111fa 100755
--- a/target/linux/rb532/base-files/sbin/wget2nand
+++ b/target/linux/rb532/base-files/sbin/wget2nand
@@ -6,7 +6,7 @@
# Licence GPL V2
# Author david.goodenough@linkchoose.co.uk
# Based on cf2nand from RB532 support
-. /etc/functions.sh
+. /lib/functions.sh
[ -d /tmp/wget2nand ] && {
echo "/tmp/wget2nand already exists"