1
0
Fork 0

tune-profiles: added missing VAR_SUBSYS_KTUNE

Missing VAR_SUBSYS_KTUNE variable in ktune.sh scripts prevented these
scripts to run stop() when disabling profile.

Fixed in:
 - desktop-powersave
 - laptop-ac-powersave
 - server-powersave
 - spindown-disk
This commit is contained in:
Jan Vcelak 2010-07-13 14:33:36 +02:00
parent 347a24aa21
commit 34a8129ea8
4 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,7 @@
#!/bin/sh
VAR_SUBSYS_KTUNE="/var/lock/subsys/ktune"
ALPM="min_power"
set_alpm() {

View file

@ -1,5 +1,7 @@
#!/bin/sh
VAR_SUBSYS_KTUNE="/var/lock/subsys/ktune"
ALPM="min_power"
set_alpm() {

View file

@ -1,5 +1,7 @@
#!/bin/sh
VAR_SUBSYS_KTUNE="/var/lock/subsys/ktune"
ALPM="min_power"
set_alpm() {

View file

@ -2,6 +2,8 @@
# Author of original script: Daniel Mach
# Rewrite into profiles by: Marcela Mašláňová
VAR_SUBSYS_KTUNE="/var/lock/subsys/ktune"
ALPM="medium_power"
# Set ALPM for all host adapters that support it