[openwrt/openwrt] mpc85xx: fix missing system import

LEDE Commits lede-commits at lists.infradead.org
Sun Mar 19 19:10:50 PDT 2023


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/fa168f521a4b1b0655fd44f38837ea3878aa3ecc

commit fa168f521a4b1b0655fd44f38837ea3878aa3ecc
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Sat Mar 18 04:31:12 2023 +0100

    mpc85xx: fix missing system import
    
    The mac-address accessor functions were not included in the sourced
    script. Fix this by importing the correct script path.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 target/linux/mpc85xx/base-files/lib/preinit/10_fix_eth_mac.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/mpc85xx/base-files/lib/preinit/10_fix_eth_mac.sh b/target/linux/mpc85xx/base-files/lib/preinit/10_fix_eth_mac.sh
index d84ab5f186..0d9058420b 100644
--- a/target/linux/mpc85xx/base-files/lib/preinit/10_fix_eth_mac.sh
+++ b/target/linux/mpc85xx/base-files/lib/preinit/10_fix_eth_mac.sh
@@ -1,4 +1,5 @@
 . /lib/functions.sh
+. /lib/functions/system.sh
 
 preinit_set_mac_address() {
 	case $(board_name) in




More information about the lede-commits mailing list