1
0
Fork 0
Commit graph

12 commits

Author SHA1 Message Date
Jan Vcelak
53ad121de8 ktune: add LSB headers to initscript
Otherwise systemd deadlocks when restarting cpuspeed daemon
within ktune.

Resolves: #690177
2011-06-21 13:35:38 +02:00
Jan Vcelak
c6875ac43d ktune: check if ELEVATOR_TUNE_DEVS is set
When ELEVATOR_TUNE_DEVS variable is not set, all files from current
directory will propagate to SYS_BLOCK_SDX variable.
2011-03-23 16:02:36 +01:00
Jarod Wilson
88ed6a3138 ktune: fix service ktune status w/no sysctl changes applied
The default profile has no sysctl changes to it. If you try running
service ktune status after applying it, you get:

Current ktune sysctl settings:
awk: cmd. line:1: fatal: cannot open file `/var/run/ktune.save' for reading (No such file or directory)

After this patch:
Current ktune sysctl settings:
None

(Simply adds a check for $SAVE_FILE, and if not found, prints out NONE).

Signed-off-by: Jarod Wilson <jarod@redhat.com>
2010-07-08 17:20:49 -04:00
Thomas Woerner
9e5a9880a0 - use "sysctl -e -p" to apply settings from SYSCTL_POST (/etc/sysctl.conf) to
be consistent with /etc/rc.sysinit (rhbz#577971)
2010-05-04 11:46:06 +02:00
Thomas Woerner
98063947dd - ktune: added insufficient user rights test to start, reload, stop and status
service commands
2010-01-22 19:00:41 +01:00
Thomas Woerner
20ece57af8 - new ktune version 0.4-1
- added support for start and stop options to profile scripts calls
  - fixed CMDLINE_ELEVATOR test (rhbz#496940#c9)
- new README.ktune
2009-12-11 13:01:44 +01:00
Jan Vcelak
51c51d366f ktune/ktune.init: bz 532209 - init priority wrong for ktune
Some tuned profiles require "messagebus" and "haldaemon" running.
Changed startup priority from 5 to 27.
2009-11-02 18:58:00 +01:00
Petr Lautrbach
1abd2f44ba ktune/ktune.init: bz519019 - typos in init script 2009-09-22 14:56:02 +02:00
Marcela Mašláňová
1b04250db9 Apostrophes broke execution of *.sh scripts in profiles.
Reported-by: Marcela Mašláňová
Fixed-by: Petr Lautrbach
2009-09-09 10:34:52 +02:00
Philip Knirsch
ed3e6634f2 - Updates to the ktune scripts
- Added support for start/stop of the ktune scripts and ktune initscript
2009-08-14 17:05:44 +02:00
Philip Knirsch
05ee10191b - Small update to specfile 2009-08-04 17:39:15 +02:00
Thomas Woerner
2835008734 Integrated ktune-0.4 2009-07-27 17:24:58 +02:00