gluon/package/gluon-respondd/files/etc/hotplug.d/iface/10-gluon-respondd
Jan-Philipp Litza 6ca06adb33 gluon-respondd: Use hotplug script for reload
Before, we used a procd netdev trigger, but that fired *way* too often (maybe
once per router announcement received?), causing high load for nothing.

This basically reverts to the behaviour before commit d8bb978, only that the
init script still handles argument collection.
2017-03-09 09:52:38 +01:00

6 lines
86 B
Bash

#!/bin/sh
[ "$ACTION" = "ifupdate" ] && exit
exec /etc/init.d/gluon-respondd reload