projects
/
lede-routing
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bird-openwrt: BIRD daemon integration with UCI and LuCI configuration
[lede-routing/.git]
/
bird-openwrt
/
bird6-openwrt
/
src
/
uci-defaults
/
bird6-uci-install-init.d
diff --git a/bird-openwrt/bird6-openwrt/src/uci-defaults/bird6-uci-install-init.d
b/bird-openwrt/bird6-openwrt/src/uci-defaults/bird6-uci-install-init.d
new file mode 100644
(file)
index 0000000..
95c4944
--- /dev/null
+++ b/
bird-openwrt/bird6-openwrt/src/uci-defaults/bird6-uci-install-init.d
@@ -0,0
+1,7
@@
+#!/bin/sh
+
+EXC=`mount -t overlayfs | grep overlayfs -c`
+
+[ $EXC > 0 ] && rm -r /etc/init.d/bird6 || mv /etc/init.d/bird6 /etc/bird6/init.d/bird6.orig
+
+ln -s /etc/bird6/init.d/bird6 /etc/init.d/bird6