Compare commits
1 Commits
master
...
babel-fixu
Author | SHA1 | Date |
---|---|---|
Fabian Bläse | d9de5a7d7f |
|
@ -82,12 +82,12 @@ babel_reload() {
|
||||||
# switch implementation temporarily
|
# switch implementation temporarily
|
||||||
case $implementation in
|
case $implementation in
|
||||||
bird2)
|
bird2)
|
||||||
/etc/init.d/babeld stop 2>/dev/null
|
[ -f /etc/init.d/babeld ] && /etc/init.d/babeld stop 2>/dev/null
|
||||||
/etc/init.d/fff-bird start
|
[ -f /etc/init.d/fff-bird ] && /etc/init.d/fff-bird start
|
||||||
;;
|
;;
|
||||||
babeld)
|
babeld)
|
||||||
/etc/init.d/fff-bird stop 2>/dev/null
|
[ -f /etc/init.d/fff-bird ] && /etc/init.d/fff-bird stop 2>/dev/null
|
||||||
/etc/init.d/babeld start
|
[ -f /etc/init.d/babeld ] && /etc/init.d/babeld start
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -101,12 +101,12 @@ babel_apply() {
|
||||||
# switch implementation persistently
|
# switch implementation persistently
|
||||||
case $implementation in
|
case $implementation in
|
||||||
bird2)
|
bird2)
|
||||||
/etc/init.d/babeld disable
|
[ -f /etc/init.d/babeld ] && /etc/init.d/babeld disable
|
||||||
/etc/init.d/fff-bird enable
|
[ -f /etc/init.d/fff-bird ] && /etc/init.d/fff-bird enable
|
||||||
;;
|
;;
|
||||||
babeld)
|
babeld)
|
||||||
/etc/init.d/fff-bird disable
|
[ -f /etc/init.d/fff-bird ] && /etc/init.d/fff-bird disable
|
||||||
/etc/init.d/babeld enable
|
[ -f /etc/init.d/babeld ] && /etc/init.d/babeld enable
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue