This commit is contained in:
Christian Dresel 2021-01-01 09:54:41 +01:00
parent 1deeac8f30
commit d26134f1d5
1 changed files with 2 additions and 2 deletions

View File

@ -1,14 +1,14 @@
#!/bin/sh
for f in /usr/lib/autol3.d/*.sh; do
. /usr/lib/autol3.d/$f
. $f
if [ $? -ne 0 ]; then
debug "Error when executing subscript $f, exiting!"
exit 1
fi
done
if [ -n "$uci -q get fff.autol3.autoconfigl3" ] ; then
if [ -n "$(uci -q get fff.autol3.autoconfigl3)" ] ; then
if yes | configure-layer3 -c; then
configure-layer3 -a
else