On 12/17/2020 5:54 PM, Khem Raj wrote:
> +if [ ! -p "$INITCTL" ] && [ "$(readlink -- "/sbin/init")" = 
> "/sbin/init.sysvinit" ]; then

Can this be done at build time for targets using sysvinit only?

> +    # Create new control channel
> +             rm -f "$INITCTL"
> +             mknod -m 600 "$INITCTL" p
> +
> +             # Reopen control channel.
> +             PID="$(pidof -s /sbin/init || echo 1)"
> +             [ -n "$PID" ] && kill -s USR1 "$PID"
>  fi
> -kill -USR1 1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#145867): 
https://lists.openembedded.org/g/openembedded-core/message/145867
Mute This Topic: https://lists.openembedded.org/mt/79049550/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to