diff options
author | Mirko Vogt <mirko@openwrt.org> | 2012-12-19 16:07:50 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2012-12-19 16:07:50 +0000 |
commit | e34a4e0c7b64aa2cc9ccd1b3f69a16db921daf77 (patch) | |
tree | 479a4332ce596ec672fc4ba28112ad32f6f4c9df /target | |
parent | 439a869090282f229cf0edb41cc2d6e94f02b5c2 (diff) | |
download | mtk-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')
12 files changed, 12 insertions, 12 deletions
diff --git a/target/linux/adm5120/rb1xx/base-files/sbin/wget2nand b/target/linux/adm5120/rb1xx/base-files/sbin/wget2nand index 6cd8d6f..f7e0a09 100755 --- a/target/linux/adm5120/rb1xx/base-files/sbin/wget2nand +++ b/target/linux/adm5120/rb1xx/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-rootfs ] && { echo "/tmp/wget2nand-rootfs already exists" diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index c46d093..0fd6813 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -11,7 +11,7 @@ ath9k_eeprom_extract() { local count=$3 local mtd - . /etc/functions.sh + . /lib/functions.sh mtd=$(find_mtd_chardev $part) [ -n "$mtd" ] || \ diff --git a/target/linux/ar71xx/base-files/sbin/wget2nand b/target/linux/ar71xx/base-files/sbin/wget2nand index 56a8ae2..f80eecd 100755 --- a/target/linux/ar71xx/base-files/sbin/wget2nand +++ b/target/linux/ar71xx/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 wget2nand_dir=/tmp/wget2nand mnt_kernel=$wget2nand_dir/mnt_kernel diff --git a/target/linux/atheros/base-files/etc/hotplug.d/button/00-button b/target/linux/atheros/base-files/etc/hotplug.d/button/00-button index 857a59b..63cc217 100644 --- a/target/linux/atheros/base-files/etc/hotplug.d/button/00-button +++ b/target/linux/atheros/base-files/etc/hotplug.d/button/00-button @@ -1,4 +1,4 @@ -. /etc/functions.sh +. /lib/functions.sh do_button () { local button local action diff --git a/target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm b/target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm index da721b8..001f5f4 100644 --- a/target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm +++ b/target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm @@ -1,6 +1,6 @@ #!/bin/sh -. /etc/functions.sh +. /lib/functions.sh set_boot_wait() { [ -x "/usr/sbin/nvram" ] && { diff --git a/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index 46be9d3..c03ba4c 100644 --- a/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -12,7 +12,7 @@ rt2x00_eeprom_extract() { local count=$3 local mtd - . /etc/functions.sh + . /lib/functions.sh mtd=$(find_mtd_part $part) [ -n "$mtd" ] || \ diff --git a/target/linux/generic/base-files/init b/target/linux/generic/base-files/init index 4705761..b4ef4fe 100755 --- a/target/linux/generic/base-files/init +++ b/target/linux/generic/base-files/init @@ -35,7 +35,7 @@ echo "- init -" # Load the modules we have in initramfs, this should # make the media accessible, but, it may take some time -. /etc/functions.sh +. /lib/functions.sh load_modules /etc/modules /etc/modules.d/* #wait 10 seconds for the disc to show up diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index e58ca34..e3509bd 100644 --- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -12,7 +12,7 @@ rt2x00_eeprom_extract() { local count=$3 local mtd - . /etc/functions.sh + . /lib/functions.sh mtd=$(find_mtd_part $part) [ -n "$mtd" ] || \ diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index 32c97fc..21c9f5f 100644 --- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -11,7 +11,7 @@ rt2x00_eeprom_extract() { local count=$3 local mtd - . /etc/functions.sh + . /lib/functions.sh mtd=$(find_mtd_part $part) [ -n "$mtd" ] || \ diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index 5d49923..dadb95b 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -1,6 +1,6 @@ #!/bin/sh -. /etc/functions.sh +. /lib/functions.sh . /lib/ramips.sh . /lib/functions/uci-defaults.sh 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" |