mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 23:48:39 +01:00
f91521f756
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>
(cherry picked from commit 25dfa20780)
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)"
|
|
}
|
|
|