mirror of
https://github.com/novatiq/packages.git
synced 2026-07-30 23:33:06 +01:00
sqm-scripts: Only run on hotplug if the init script is enabled.
Fixes #1202. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ "$ACTION" = ifup ] && /usr/lib/sqm/run.sh start ${DEVICE}
|
||||
[ "$ACTION" = ifup ] && /etc/init.d/sqm enabled && /usr/lib/sqm/run.sh start ${DEVICE}
|
||||
|
||||
Reference in New Issue
Block a user