Teach SQM hotplug tricks
[feed/packages.git] / net / sqm-scripts / files / etc / hotplug.d / iface / 11-sqm
1 #!/bin/sh
2
3 # teach SQM to re-enable itself when an interface re-appears
4 logger -t SQM -s "hotplug on interface: ${DEVICE} action: ${ACTION}"
5
6 [ "$ACTION" = ifup ] && /usr/lib/sqm/run.sh interface ${DEVICE}
7