aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532/base-files
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
commitf1b359fecbaa0a2d67ca14490e36a4e1e9a20be6 (patch)
treea9929324b7b68a7aa20d97a6ddb3d49222ba0bd0 /target/linux/rb532/base-files
parentfd18877418cf14f6bc2b413a238a3ca5f6d9ad94 (diff)
downloadmaster-187ad058-f1b359fecbaa0a2d67ca14490e36a4e1e9a20be6.tar.gz
master-187ad058-f1b359fecbaa0a2d67ca14490e36a4e1e9a20be6.tar.bz2
master-187ad058-f1b359fecbaa0a2d67ca14490e36a4e1e9a20be6.zip
Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532/base-files')
-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 60542de1e1..0bfc259ef6 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 57f4128642..9a111fa896 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"