forked from freifunk-franken/firmware
Fix bird reload issues when old configuration is present
This commit is contained in:
parent
1a7b97f089
commit
85513e0350
|
@ -26,7 +26,10 @@ babel_remove_custom_redistribute_filters() {
|
|||
|
||||
babel_apply() {
|
||||
# error output hidden because apply might be executed without a preceding configure step.
|
||||
mv -T /tmp/bird-babel /etc/bird-babel 2>/dev/null
|
||||
if [ -d /tmp/bird-babel ]; then
|
||||
rm -rf /etc/bird-babel
|
||||
mv /tmp/bird-babel /etc/bird-babel
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue