sqm-scripts: clean up interface selection for hotplugging
authorSebastian Moeller <redacted>
Fri, 20 Mar 2015 21:47:45 +0000 (22:47 +0100)
committerToke Høiland-Jørgensen <redacted>
Wed, 25 Mar 2015 09:35:58 +0000 (10:35 +0100)
commitd5a203f1eba6f93894b9185df763b945c3a72941
treed72fd9acd6d65e871ec0bbf6aec42cbb49d3eb1e
parent1561003a7017cf9bffae25b82c71bc26d749f411
sqm-scripts: clean up interface selection for hotplugging

The initial conversion to restart sqm on interfaces it is configured
for in case of (transient) dis- and reappearance was half finished.
These changes clean up the handling of exlicitly passed interfaces
in run.sh: no second argument defaults to all configured interfaces
the alternative is an individual interface name passed as 2nd
argument to run.sh. The first argument either is start or stop.
No argument at all will behave as if start was passed.
Survives light testing...

Signed-off-by: Sebastian Moeller <redacted>
net/sqm-scripts/files/etc/hotplug.d/iface/11-sqm
net/sqm-scripts/files/etc/init.d/sqm
net/sqm-scripts/files/usr/lib/sqm/run.sh
git clone https://git.99rst.org/PROJECT