mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2025-12-19 04:54:29 +05:00
Add support of Fantastic packages
Sources: https://github.com/fantastic-packages/packages Binary: https://fantastic-packages.github.io/packages/releases/
This commit is contained in:
@@ -107,3 +107,9 @@ get_cfg_opt_flag() {
|
||||
echo "$k"
|
||||
}
|
||||
|
||||
get_cfg_opt_value() {
|
||||
local cfg=$1
|
||||
local name=$2
|
||||
local k=$( grep -o -P '(?<=^CONFIG_'$name'=").*(?=")' "$cfg" 2> /dev/null )
|
||||
echo "$k"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user