mirror of
				https://github.com/immortalwrt/immortalwrt.git
				synced 2025-10-30 07:49:55 +08:00 
			
		
		
		
	 5a949cb5f9
			
		
	
	5a949cb5f9
	
	
	
		
			
			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>
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			135 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			135 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| # Make dnsmasq reread hostfile by sending SIGHUP signal
 | |
| 
 | |
| initscript=$0
 | |
| 
 | |
| . /lib/functions/procd.sh
 | |
| 
 | |
| procd_send_signal dnsmasq
 |