From 1fa57228447abc46d58bcc377ab373c026ccd008 Mon Sep 17 00:00:00 2001 From: Philip Knirsch Date: Wed, 25 Feb 2009 11:28:06 +0100 Subject: - 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 --- tuned.initscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tuned.initscript') 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 -- cgit