mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 04:36:22 +00:00
/etc/init.d/scst: Really unload all SCST kernel modules
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8952 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -192,10 +192,13 @@ unload_scst() {
|
||||
# seconds.
|
||||
unload_kmod isert_scst 90 || echo "Unloading isert_scst failed"
|
||||
|
||||
reverse_list="scst_disk scst_raid scst_tape scst_user scst_changer \
|
||||
scst_cdrom scst_vdisk scst_modisk scst_processor \
|
||||
isert_scst iscsi_scst fcst ib_srpt qla2xxx_scst qla2x00tgt \
|
||||
scst_local scst"
|
||||
for m in scst_disk scst_raid scst_tape scst_user scst_changer \
|
||||
scst_cdrom scst_vdisk scst_modisk scst_processor \
|
||||
isert_scst iscsi_scst fcst ib_srpt qla2xxx_scst qla2x00tgt \
|
||||
scst_local scst; do
|
||||
unload_kmod "$m" 30
|
||||
done
|
||||
reverse_list=""
|
||||
for m in $SCST_MODULES; do
|
||||
reverse_list="$m $reverse_list"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user