]> git.ipfire.org Git - thirdparty/openwrt.git/commit
odhcpd: set procd expected variable for odhcpd update script 20485/head
authorPaul Donald <newtwen+github@gmail.com>
Tue, 21 Oct 2025 14:54:23 +0000 (16:54 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 23 Oct 2025 14:35:44 +0000 (16:35 +0200)
commit5a949cb5f961383970fc59deba174109c6180abb
tree00a1316b09ff58c2a20a79dd52f57622152daebd
parent8758b58f25dac29a9cbf60e153143bdc124e582c
odhcpd: set procd expected variable for odhcpd update script

Otherwise odhcpd logs:

```
odhcpd[14970]: Sent 113 bytes to xxx%lan@br-lan
BusyBox v1.37.0 (2025-10-10 09:07:48 UTC) multi-call binary.

Usage: basename FILE [SUFFIX] | -a FILE... | -s SUFFIX FILE...

Strip directory path and SUFFIX from FILE

        -a              All arguments are FILEs
        -s SUFFIX       Remove SUFFIX (implies -a)
odhcpd[14970]: Netlink newneigh xxx on lan
```

Apparently procd scripts expect initscript set.

h/t @Alphix for finding this.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20485
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
package/network/services/odhcpd/Makefile
package/network/services/odhcpd/files/odhcpd-update