babled re-add capability to set interfaces default params
This commit is contained in:
parent
201f9d5bf2
commit
d032a32f9d
1 changed files with 6 additions and 1 deletions
|
@ -133,7 +133,12 @@ babel_config_cb() {
|
||||||
}
|
}
|
||||||
|
|
||||||
interfaceFile="${OTHERCONFIGDIR}/interface_$interface.conf"
|
interfaceFile="${OTHERCONFIGDIR}/interface_$interface.conf"
|
||||||
echo "interface $interface" > "$interfaceFile"
|
|
||||||
|
if [ "$interface" == "default" ]; then
|
||||||
|
echo "default" > "$interfaceFile"
|
||||||
|
else
|
||||||
|
echo "interface $interface" > "$interfaceFile"
|
||||||
|
fi
|
||||||
|
|
||||||
option_cb()
|
option_cb()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue