mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 05:49:50 +00:00
Add a hotplug script to reload nlbwmon's config after interface ifup actions. That should improve the detection of the IPv6 LAN address that can get enabled a bit later in the boot process. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
10 lines
205 B
Bash
10 lines
205 B
Bash
#!/bin/sh
|
|
|
|
[ -n "$DEVICE" ] || exit 0
|
|
|
|
[ "$ACTION" = ifup ] && /etc/init.d/nlbwmon enabled && {
|
|
/etc/init.d/nlbwmon reload
|
|
logger -t nlbwmon "Reloading nlbwmon due to $ACTION of $INTERFACE ($DEVICE)"
|
|
}
|
|
|