/etc/hotplug.d/iface
On Jan 17, 2015 1:21 PM, "Kamil Jońca" <[email protected]> wrote: > > Sorry if I missed something from wiki/doc. > Is there any way to make my user script to be executed when iterface is > going up/down? > I would to set some nat rules when one particular interface goes up, and > delete them when goes down, but I don't know where can I put the > script(s). > These interfaces are managed by DHCP an in theory I can use > /etc/udhcpc.user, and when lease is obtained ewerything works like a > charm. > but when I isuue "ifdown lan1" - nat rules are not cleared (looks like > no "deconfig" stage) > KJ > > -- > http://wolnelektury.pl/wesprzyj/teraz/ > _______________________________________________ > openwrt-users mailing list > [email protected] > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
