mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
/etc/init.d/scst: Make this script independent of the installation directory (/usr/local versus /usr)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5128 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -79,6 +79,7 @@ fi
|
||||
cat <<"EOF"
|
||||
|
||||
SCST_CFG=/etc/scst.conf
|
||||
ISCSI_DAEMON="$(which iscsi-scstd)"
|
||||
|
||||
show_status() {
|
||||
_rc_status_ret=$?
|
||||
@@ -159,7 +160,7 @@ parse_scst_conf() {
|
||||
SCST_OPT_MODULES="crc32c-intel $SCST_OPT_MODULES";;
|
||||
esac
|
||||
SCST_OPT_MODULES="crc32c $SCST_OPT_MODULES"
|
||||
SCST_DAEMONS="/usr/local/sbin/iscsi-scstd $SCST_DAEMONS"
|
||||
SCST_DAEMONS="${ISCSI_DAEMON} $SCST_DAEMONS"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user