From 0687776d85443329b5e90defa26eacc32885b358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Wed, 4 Nov 2020 06:45:58 +0100 Subject: [PATCH] add function to rescan scsi-bus --- functions.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions.sh b/functions.sh index fb398cd..f0dcd09 100755 --- a/functions.sh +++ b/functions.sh @@ -849,4 +849,8 @@ getloglevels () { EOF } + +rescan_scsi () { + echo "- - -" > /sys/class/scsi_host/host0/scan +} #EOF