fshalt: until sd* drivers get fixed (in a calm manner) only unconfigure nvme drives

This commit is contained in:
Sigrid Solveig Haflínudóttir 2023-05-26 21:33:17 +00:00
parent 9efcce402b
commit f0084afefa

View file

@ -31,7 +31,7 @@ sleep 1
c=`{ls /srv/cwfs*cmd >[2]/dev/null}
h=`{ls /srv/hjfs*cmd >[2]/dev/null}
s=`{awk '/^sd./ {print substr($1,3,1)}' <'#S/sdctl' >[2]/dev/null}
s=`{awk '/^sd./ && /nvme/ {print substr($1,3,1)}' <'#S/sdctl' >[2]/dev/null}
# for scram, don't scram other systems
bind -b '#P' /dev >[2]/dev/null