From 35a0e3f382afff497bcd53e4e70564cdbf17e8dc Mon Sep 17 00:00:00 2001 From: Christof Schulze Date: Mon, 11 Jun 2018 10:29:25 +0200 Subject: [PATCH] gluon-l3roamd: place hook to be called by ddhcpd when a new ipv4 address is assigned --- package/gluon-l3roamd/files/etc/ddhcpd.d/l3roamd | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 package/gluon-l3roamd/files/etc/ddhcpd.d/l3roamd diff --git a/package/gluon-l3roamd/files/etc/ddhcpd.d/l3roamd b/package/gluon-l3roamd/files/etc/ddhcpd.d/l3roamd new file mode 100755 index 00000000..32a909fa --- /dev/null +++ b/package/gluon-l3roamd/files/etc/ddhcpd.d/l3roamd @@ -0,0 +1,5 @@ +#!/bin/sh +if [ "$1" = "lease" ] +then + echo add_address "$2" "$3" | uc /var/run/l3roamd.sock +fi