Browse Source

Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)

SVN-Revision: 34793
Mirko Vogt 13 years ago
parent
commit
e34a4e0c7b

+ 1 - 1
target/linux/adm5120/rb1xx/base-files/sbin/wget2nand

@@ -6,7 +6,7 @@
 # Licence GPL V2
 # Licence GPL V2
 # Author [email protected]
 # Author [email protected]
 # Based on cf2nand from RB532 support
 # Based on cf2nand from RB532 support
-. /etc/functions.sh
+. /lib/functions.sh
 
 
 [ -d /tmp/wget2nand-rootfs ] && {
 [ -d /tmp/wget2nand-rootfs ] && {
 	echo "/tmp/wget2nand-rootfs already exists"
 	echo "/tmp/wget2nand-rootfs already exists"

+ 1 - 1
target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom

@@ -11,7 +11,7 @@ ath9k_eeprom_extract() {
 	local count=$3
 	local count=$3
 	local mtd
 	local mtd
 
 
-	. /etc/functions.sh
+	. /lib/functions.sh
 
 
 	mtd=$(find_mtd_chardev $part)
 	mtd=$(find_mtd_chardev $part)
 	[ -n "$mtd" ] || \
 	[ -n "$mtd" ] || \

+ 1 - 1
target/linux/ar71xx/base-files/sbin/wget2nand

@@ -6,7 +6,7 @@
 # Licence GPL V2
 # Licence GPL V2
 # Author [email protected]
 # Author [email protected]
 # Based on cf2nand from RB532 support
 # Based on cf2nand from RB532 support
-. /etc/functions.sh
+. /lib/functions.sh
 
 
 wget2nand_dir=/tmp/wget2nand
 wget2nand_dir=/tmp/wget2nand
 mnt_kernel=$wget2nand_dir/mnt_kernel
 mnt_kernel=$wget2nand_dir/mnt_kernel

+ 1 - 1
target/linux/atheros/base-files/etc/hotplug.d/button/00-button

@@ -1,4 +1,4 @@
-. /etc/functions.sh
+. /lib/functions.sh
 do_button () {
 do_button () {
 	local button
 	local button
 	local action
 	local action

+ 1 - 1
target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm

@@ -1,6 +1,6 @@
 #!/bin/sh
 #!/bin/sh
 
 
-. /etc/functions.sh
+. /lib/functions.sh
 
 
 set_boot_wait() {
 set_boot_wait() {
 	[ -x "/usr/sbin/nvram" ] && {
 	[ -x "/usr/sbin/nvram" ] && {

+ 1 - 1
target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom

@@ -12,7 +12,7 @@ rt2x00_eeprom_extract() {
 	local count=$3
 	local count=$3
 	local mtd
 	local mtd
 
 
-	. /etc/functions.sh
+	. /lib/functions.sh
 
 
 	mtd=$(find_mtd_part $part)
 	mtd=$(find_mtd_part $part)
 	[ -n "$mtd" ] || \
 	[ -n "$mtd" ] || \

+ 1 - 1
target/linux/generic/base-files/init

@@ -35,7 +35,7 @@ echo "- init -"
 
 
 # Load the modules we have in initramfs, this should
 # Load the modules we have in initramfs, this should
 # make the media accessible, but, it may take some time
 # make the media accessible, but, it may take some time
-. /etc/functions.sh
+. /lib/functions.sh
 load_modules /etc/modules /etc/modules.d/*
 load_modules /etc/modules /etc/modules.d/*
 
 
 #wait 10 seconds for the disc to show up
 #wait 10 seconds for the disc to show up

+ 1 - 1
target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom

@@ -12,7 +12,7 @@ rt2x00_eeprom_extract() {
 	local count=$3
 	local count=$3
 	local mtd
 	local mtd
 
 
-	. /etc/functions.sh
+	. /lib/functions.sh
 
 
 	mtd=$(find_mtd_part $part)
 	mtd=$(find_mtd_part $part)
 	[ -n "$mtd" ] || \
 	[ -n "$mtd" ] || \

+ 1 - 1
target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom

@@ -11,7 +11,7 @@ rt2x00_eeprom_extract() {
 	local count=$3
 	local count=$3
 	local mtd
 	local mtd
 
 
-	. /etc/functions.sh
+	. /lib/functions.sh
 
 
 	mtd=$(find_mtd_part $part)
 	mtd=$(find_mtd_part $part)
 	[ -n "$mtd" ] || \
 	[ -n "$mtd" ] || \

+ 1 - 1
target/linux/ramips/base-files/etc/uci-defaults/network

@@ -1,6 +1,6 @@
 #!/bin/sh
 #!/bin/sh
 
 
-. /etc/functions.sh
+. /lib/functions.sh
 . /lib/ramips.sh
 . /lib/ramips.sh
 . /lib/functions/uci-defaults.sh
 . /lib/functions/uci-defaults.sh
 
 

+ 1 - 1
target/linux/rb532/base-files/sbin/cf2nand

@@ -1,5 +1,5 @@
 #!/bin/sh
 #!/bin/sh
-. /etc/functions.sh
+. /lib/functions.sh
 
 
 copy_kernel() {
 copy_kernel() {
 	local input="$1"
 	local input="$1"

+ 1 - 1
target/linux/rb532/base-files/sbin/wget2nand

@@ -6,7 +6,7 @@
 # Licence GPL V2
 # Licence GPL V2
 # Author [email protected]
 # Author [email protected]
 # Based on cf2nand from RB532 support
 # Based on cf2nand from RB532 support
-. /etc/functions.sh
+. /lib/functions.sh
 
 
 [ -d /tmp/wget2nand ] && {
 [ -d /tmp/wget2nand ] && {
 	echo "/tmp/wget2nand already exists"
 	echo "/tmp/wget2nand already exists"