Skip to content

Commit

Permalink
sqm-scripts: quiet the hotplug script (supress debugging output)
Browse files Browse the repository at this point in the history
The hotplug script for sqm-scripts had debug logging enabled, since that
is not needed for normal use, this commit silences the hotplug script
again.

Signed-off-by: Sebastian Moeller <moeller0@gmx.de>
  • Loading branch information
moeller0 committed Mar 5, 2015
1 parent b5ff451 commit a4b171d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/sqm-scripts/files/etc/hotplug.d/iface/11-sqm
@@ -1,7 +1,8 @@
#!/bin/sh

# teach SQM to re-enable itself when an interface re-appears
logger -t SQM -s "hotplug on interface: ${DEVICE} action: ${ACTION}"
#echo "${IFACE} does currently not exist, not even trying starting SQM on nothing." > /dev/kmsg
#logger -t SQM -s "hotplug on interface: ${DEVICE} action: ${ACTION}"

[ "$ACTION" = ifup ] && /usr/lib/sqm/run.sh interface ${DEVICE}

0 comments on commit a4b171d

Please sign in to comment.