summaryrefslogtreecommitdiffstats
path: root/tuned.initscript
diff options
context:
space:
mode:
authorPhilip Knirsch <pknirsch@hamburg.stuttgart.redhat.com>2009-02-25 11:28:06 +0100
committerPhilip Knirsch <pknirsch@hamburg.stuttgart.redhat.com>2009-02-25 11:28:06 +0100
commit1fa57228447abc46d58bcc377ab373c026ccd008 (patch)
tree634135e6c1c62729feb2893a38d7b2da0d89784e /tuned.initscript
parente393e728bcffd730401780a8fb3d077d952fed78 (diff)
downloadtuned-1fa57228447abc46d58bcc377ab373c026ccd008.tar.gz
tuned-1fa57228447abc46d58bcc377ab373c026ccd008.tar.xz
tuned-1fa57228447abc46d58bcc377ab373c026ccd008.zip
- Add init() methods to each plugin
- Call plugin init() methods during tuned's init() - Add support for command line parameters o -c conffile|--config==conffile to specify the location of the config file o -d to start tuned as a daemon (instead of as normal app) - Readded the debug output in case tuned isn't started as as daemon - Fixed initialization of max transfer values for net tuning plugin
Diffstat (limited to 'tuned.initscript')
-rwxr-xr-xtuned.initscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/tuned.initscript b/tuned.initscript
index dad1405..5465a0d 100755
--- a/tuned.initscript
+++ b/tuned.initscript
@@ -32,7 +32,7 @@ start () {
[ -x $exec ] || exit 5
[ -f $config ] || exit 6
echo -n $"Starting $prog: "
- daemon $exec
+ daemon $exec -d -c $config
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile