2 # Restart aiccu if connection is down
10 [ -x $BINARY ] ||
exit $NA
11 [ -f $CONFIG ] ||
exit $NA
18 # Restart aiccu if ping6 does not exist
19 [ -x $P6 ] || invoke-rc.d aiccu restart
21 # Get aiccu ipv6_interface
22 INT
=$
(grep ^ipv6_interface
$CONFIG | cut
-d" " -f 2)
24 # Ping f.root-servers.net (Internet Systems Consortium; distributed using anycast)
25 # Restart aiccu if ping failed
26 $P6 -I $INT -c 1 f.root-servers.net
>/dev
/null
2>&1 || invoke-rc.d aiccu restart