oonf: fix IB warnings 'include file not found'
authorPatrick Grimm <patrick@lunatiki.de>
Sat, 14 Jan 2023 11:21:15 +0000 (12:21 +0100)
committerMoritz Warning <moritzwarning@web.de>
Mon, 23 Jan 2023 13:24:10 +0000 (14:24 +0100)
Compile tested: mips_24kc, arm_cortex-a9_vfpv3-d16, i386_pentium4, x86_64, i386_pentium-mmx, mipsel_24kc

Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
oonf-dlep-proxy/files/dlep_proxy.init
oonf-dlep-radio/files/dlep_radio.init
oonf-olsrd2/files/olsrd2.init

index c47ff84000a850962312c748cf8eed163e95441e..fe26aaf94656826d7cdda198c76cffcc3b7c880b 100755 (executable)
@@ -3,4 +3,6 @@
 START=82
 DAEMON='dlep_proxy'
 
-. /lib/functions/oonf_init.sh
+[ -n "$IPKG_INSTROOT" ] || {
+        . /lib/functions/oonf_init.sh
+}
\ No newline at end of file
index c660a216b4873e961359b2d5e2ce75919537507f..d0a5b230e289833c3469b0bfcf3f35eaf9bafe0a 100755 (executable)
@@ -3,4 +3,6 @@
 START=82
 DAEMON='dlep_radio'
 
-. /lib/functions/oonf_init.sh
+[ -n "$IPKG_INSTROOT" ] || {
+        . /lib/functions/oonf_init.sh
+}
index debae9883258b821a5ea0aecebe879ddc84e29eb..04b30ffa4a7a4d65e2fb9944e4570273a9418f2e 100755 (executable)
@@ -3,4 +3,6 @@
 START=82
 DAEMON='olsrd2'
 
-. /lib/functions/oonf_init.sh
+[ -n "$IPKG_INSTROOT" ] || {
+        . /lib/functions/oonf_init.sh
+}