Skip to content

Commit

Permalink
gluon-l3roamd: place hook to be called by ddhcpd when a new ipv4 addr…
Browse files Browse the repository at this point in the history
…ess is assigned
  • Loading branch information
christf committed Jan 12, 2020
1 parent 17f5374 commit 223e80d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package/gluon-l3roamd/files/etc/ddhcpd.d/l3roamd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

echo "$@"

if [ "$1" = "lease" ]
then
echo add_address "$2" "$3" | uc /var/run/l3roamd.sock
fi

0 comments on commit 223e80d

Please # to comment.