Merge pull request #332 from ecsv/batadv-2017.4
[feed/routing.git] / bird-openwrt / bird4-openwrt / src / uci-defaults / bird4-uci-install-init.d
1 #!/bin/sh
2
3 EXC=`mount -t overlayfs | grep overlayfs -c`
4
5 [ $EXC > 0 ] && rm -r /etc/init.d/bird4 || mv /etc/init.d/bird4 /etc/bird4/init.d/bird4.orig
6
7 ln -s /etc/bird4/init.d/bird4 /etc/init.d/bird4