/etc/init.d: When installing SCST 3.0, disable and remove the now obsolete iscsi-scst and qla2x00t init scripts.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3843 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2011-09-04 11:57:39 +00:00
parent 43d576aa48
commit b5865c7969
+6
View File
@@ -55,6 +55,12 @@ install:
if [ ! -e $(DESTDIR)$(DEFAULTDIR)/scst ]; then \
install -m 755 default/scst $(DESTDIR)$(DEFAULTDIR); \
fi
@if [ "$(REMOVE_INITD_CMD)" != "none" ]; then \
$(REMOVE_INITD_CMD) iscsi-scst >/dev/null 2>&1; \
rm -f $(INITDIR)/iscsi-scst; \
$(REMOVE_INITD_CMD) qla2x00t >/dev/null 2>&1; \
rm -f $(INITDIR)/qla2x00t; \
fi
@if [ "$(INSTALL_INITD_CMD)" != "none" ]; then \
echo; \
echo 'If you want SCST to start automatically at boot time, run' \