- add package apinger-rrd for RRD graphs - add RPC to get an overview and update graphs - fix interface hotplug to restart apinger instance - add patch to split alarms list in the status Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
12 lines
204 B
Bash
12 lines
204 B
Bash
#!/bin/sh
|
|
|
|
. /lib/functions.sh
|
|
|
|
/etc/init.d/apinger enabled && {
|
|
[ "$(uci_get apinger $INTERFACE)" == "interface" ] || exit 0
|
|
|
|
[ "$ACTION" = "ifup" ] && {
|
|
/etc/init.d/apinger restart $INTERFACE
|
|
}
|
|
|
|
}
|