mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +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:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=sqm-scripts
|
||||
PKG_VERSION:=8
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
PKG_LICENSE:=GPLv2
|
||||
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
@@ -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