|
|
@ -43,7 +43,7 @@ config_cb() { |
|
|
|
fi |
|
|
|
|
|
|
|
local type="$1" |
|
|
|
local name="$2" |
|
|
|
local name="$(uci -q get xinetd.$2.name || echo $2)" |
|
|
|
|
|
|
|
if [ "$type" = "service" ]; then |
|
|
|
|
|
|
@ -62,7 +62,7 @@ config_cb() { |
|
|
|
local option="$1" |
|
|
|
local value="$2" |
|
|
|
|
|
|
|
[ -n "$value" ] && echo -e "\t$option = $value" >> $GENERATED_CONF_FILE |
|
|
|
[ -n "$value" ] && [ "$option" != "name" ] && echo -e "\t$option = $value" >> $GENERATED_CONF_FILE |
|
|
|
} |
|
|
|
|
|
|
|
# redefined callback for lists when calling config_load |
|
|
|