diff --git a/oonf-dlep-proxy/files/dlep_proxy.init b/oonf-dlep-proxy/files/dlep_proxy.init index c47ff84..fe26aaf 100755 --- a/oonf-dlep-proxy/files/dlep_proxy.init +++ b/oonf-dlep-proxy/files/dlep_proxy.init @@ -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 diff --git a/oonf-dlep-radio/files/dlep_radio.init b/oonf-dlep-radio/files/dlep_radio.init index c660a21..d0a5b23 100755 --- a/oonf-dlep-radio/files/dlep_radio.init +++ b/oonf-dlep-radio/files/dlep_radio.init @@ -3,4 +3,6 @@ START=82 DAEMON='dlep_radio' -. /lib/functions/oonf_init.sh +[ -n "$IPKG_INSTROOT" ] || { + . /lib/functions/oonf_init.sh +} diff --git a/oonf-olsrd2/files/olsrd2.init b/oonf-olsrd2/files/olsrd2.init index debae98..04b30ff 100755 --- a/oonf-olsrd2/files/olsrd2.init +++ b/oonf-olsrd2/files/olsrd2.init @@ -3,4 +3,6 @@ START=82 DAEMON='olsrd2' -. /lib/functions/oonf_init.sh +[ -n "$IPKG_INSTROOT" ] || { + . /lib/functions/oonf_init.sh +}