Re: [OpenWrt-Devel] netifd: DEVICE= always empty for ACTION=ifdown for scripts in /etc/hotplug.d/iface

2019-02-22 Thread Martin Tippmann
On Fri, Feb 22, 2019 at 9:17 AM Martin Tippmann wrote: > > Hi, > > I'm calling some iptables rules from a scripts in /etc/hotplug.d/iface > and these failed because there seems to be no $DEVICE variable for > ACTION=ifdown events. > > It's not really obvious that the device is not populated for

[OpenWrt-Devel] netifd: DEVICE= always empty for ACTION=ifdown for scripts in /etc/hotplug.d/iface

2019-02-22 Thread Martin Tippmann
Hi, I'm calling some iptables rules from a scripts in /etc/hotplug.d/iface and these failed because there seems to be no $DEVICE variable for ACTION=ifdown events. It's not really obvious that the device is not populated for ifdown events, is there a reason for this? I guess the data about the