gluon-l3roamd: place hook to be called by ddhcpd when a new ipv4 address is assigned
This commit is contained in:
parent
78f09e9f73
commit
35a0e3f382
5
package/gluon-l3roamd/files/etc/ddhcpd.d/l3roamd
Executable file
5
package/gluon-l3roamd/files/etc/ddhcpd.d/l3roamd
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
if [ "$1" = "lease" ]
|
||||
then
|
||||
echo add_address "$2" "$3" | uc /var/run/l3roamd.sock
|
||||
fi
|
Loading…
Reference in New Issue
Block a user