2026-03-12 20:23:15

This commit is contained in:
root committed 2026-03-12 21:23:47 +01:00
1 parent eab4b36eca
commit 93039b8489
3332 files changed
+699614

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
### still have to add the code to check the script is executed as root
ls -1 /sys/class/fc_transport/ | tr -d [[:alpha:]] | awk -v lun_id=$1 'BEGIN {FS=":"} {system("echo \""$2 " " $3 " " lun_id "\" > /sys/class/scsi_host/host"$1"/scan")}'