mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
/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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user