From a2186fddc072a975c0cb8d861dd203f8fb892ec4 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 18 Jul 2011 07:46:17 +0000 Subject: [PATCH] /etc/init.d/scst: Use the -noprompt option of scstadmin instead of "echo y |". git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3680 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scstadmin/init.d/scst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scstadmin/init.d/scst b/scstadmin/init.d/scst index 9b9d77fed..a22a95b0a 100755 --- a/scstadmin/init.d/scst +++ b/scstadmin/init.d/scst @@ -149,7 +149,7 @@ stop() { # Clear the config in case unloading failed or SCST has been built into the # kernel if [ -e /sys/module/scst ]; then - echo y | scstadmin -clear_config -force >/dev/null 2>&1 + scstadmin -noprompt -force -clear_config >/dev/null 2>&1 fi return 0