Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
authorMirko Vogt <mirko@openwrt.org>
Wed, 19 Dec 2012 16:07:50 +0000 (16:07 +0000)
committerMirko Vogt <mirko@openwrt.org>
Wed, 19 Dec 2012 16:07:50 +0000 (16:07 +0000)
SVN-Revision: 34793

12 files changed:
target/linux/adm5120/rb1xx/base-files/sbin/wget2nand
target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
target/linux/ar71xx/base-files/sbin/wget2nand
target/linux/atheros/base-files/etc/hotplug.d/button/00-button
target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm
target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
target/linux/generic/base-files/init
target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
target/linux/ramips/base-files/etc/uci-defaults/network
target/linux/rb532/base-files/sbin/cf2nand
target/linux/rb532/base-files/sbin/wget2nand

index 6cd8d6fbd98bc6a4deb1885bfe1fd549d762fa5f..f7e0a092ca4188eb8274d141960c96cb33490f3c 100755 (executable)
@@ -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"
index c46d0931a96e2615676181d5d79ef5b1e56a5c20..0fd68138322eef7a6d9652fadaf0420f34a18ad8 100644 (file)
@@ -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" ] || \
index 56a8ae2244686d9574f25074058fbc2ffa635ab5..f80eecd21926958fdf7a652a9ea1d73cfcef3c5a 100755 (executable)
@@ -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
index 857a59b4a811a35c506427537b60046567980aaa..63cc217d5d4e5d0005a9fa1eadd4d412b3cd475a 100644 (file)
@@ -1,4 +1,4 @@
-. /etc/functions.sh
+. /lib/functions.sh
 do_button () {
        local button
        local action
index da721b84841a37b32a643ef298d38c6dcfdab72a..001f5f4d3fb0fa390f7c44d96636f7b88d9ef8b0 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. /etc/functions.sh
+. /lib/functions.sh
 
 set_boot_wait() {
        [ -x "/usr/sbin/nvram" ] && {
index 46be9d3f9935f2d9ab83bfa8a5b0aba8a2a1b16d..c03ba4c6ec2dea57e61047662aae0b207cf7f9e9 100644 (file)
@@ -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" ] || \
index 470576156b16385849f55314518deb0d093ee1fd..b4ef4fe6876f4fe85c80c9b35adf26259a4c129f 100755 (executable)
@@ -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
index e58ca34de489bfcbe306073cd471b81fbcc4e437..e3509bdd2b18c30b03f43f0f8cf539703cd3d116 100644 (file)
@@ -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" ] || \
index 32c97fce41421df9ab9a515d1ce4d7f0f32e2f53..21c9f5f886dfe5b15ff1a864d70495bc3727f953 100644 (file)
@@ -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" ] || \
index 5d49923bb5225515bed50f12f31c4646ecff1d27..dadb95bcb81de7dbd40a798c7c6fd32fcd55378e 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. /etc/functions.sh
+. /lib/functions.sh
 . /lib/ramips.sh
 . /lib/functions/uci-defaults.sh
 
index 60542de1e19152c4f231f71abf4cb4d6e037298f..0bfc259ef630d6af3664836244b66638e927232c 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-. /etc/functions.sh
+. /lib/functions.sh
 
 copy_kernel() {
        local input="$1"
index 57f4128642d9539ae7cff7e39787d32eb8ad3145..9a111fa896924fc7405283d5c76a03b5eba2c744 100755 (executable)
@@ -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"