>From 7eae738c08a20fe70215ec2e74cf2f19cfe08a38 Mon Sep 17 00:00:00 2001 From: Dan Kenigsberg Date: Wed, 23 Sep 2009 10:46:40 +0300 Subject: [PATCH 2/2] add 'retune' verb to ksmtuned.init --- ksmtuned.init | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ksmtuned.init b/ksmtuned.init index 205531a..46332f8 100644 --- a/ksmtuned.init +++ b/ksmtuned.init @@ -75,8 +75,11 @@ case "$1" in condrestart) condrestart ;; + retune) + kill -SIGUSR1 `cat ${pidfile}` + RETVAL=$? *) - echo $"Usage: $prog {start|stop|restart|condrestart|status|help}" + echo $"Usage: $prog {start|stop|restart|condrestart|status|retune|help}" RETVAL=3 esac -- 1.6.2.5