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 22, 2020
1 parent 78f09e9 commit 35a0e3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package/gluon-l3roamd/files/etc/ddhcpd.d/l3roamd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
if [ "$1" = "lease" ]
then
echo add_address "$2" "$3" | uc /var/run/l3roamd.sock
fi

0 comments on commit 35a0e3f

Please sign in to comment.