base-files: source functions.sh in /lib/functions/system.sh
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 13 Mar 2020 15:56:53 +0000 (16:56 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 12 Apr 2020 12:16:57 +0000 (14:16 +0200)
The file /lib/functions/system.sh depends on find_mtd_index() and
find_mtd_part() located in /lib/function.sh, so let's source that
file.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
package/base-files/files/lib/functions/system.sh

index c9f8eb0c31467c569563873dbcbb61103f9ea5ff..c7aa7bf75c2d7f8faed2a5626edd3c4c73816f9e 100644 (file)
@@ -1,5 +1,6 @@
 # Copyright (C) 2006-2013 OpenWrt.org
 
+. /lib/functions.sh
 . /usr/share/libubox/jshn.sh
 
 get_mac_binary() {