iopsys-feed/qosmngr/files/linux/etc/hotplug.d/ethernet/qos-reload-on-link-up
2023-08-10 11:29:47 +00:00

8 lines
143 B
Bash
Executable file

#!/bin/sh
. /lib/network/utils.sh
if [ "$LINK" = "up" ]; then
logger -t qos "reload qos due to link up on $PORT"
/etc/init.d/qos reload
fi