A list of scripts which will be executed in response to network events.
Declarations
Type
list of (submodule)
Default
[ ]
Example
[ {
source = pkgs.writeText "upHook" ''
if [ "$2" != "up" ]; then
logger "exit: event $2 != up"
exit
fi
# coreutils and iproute are in PATH too
logger "Device $DEVICE_IFACE coming up"
'';
type = "basic";
} ]