fshalt: get rid of special nvme hack for disk shutdown

The kernel has been fixed, no need to exclude
nvme drives anymore.
This commit is contained in:
cinap_lenrek 2023-11-18 21:59:38 +00:00
parent 3280b43ee0
commit 276c090a95

View file

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