fix: source functions
sourcing /lib/functions so uci_get is in scope
This commit is contained in:
1 parent
930e3ad1ba
commit
12bfaa2dfe
4 files changed
+18
-7
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# create a symlink to this file at /lib/functions.sh for testing
|
||||
|
||||
# mock implementation of uci_get that always returns the default value
|
||||
uci_get() {
|
||||
for item in "$@"; do
|
||||
last=$item
|
||||
done
|
||||
echo "$last"
|
||||
}
|
||||
Reference in new issue
Block a user