ref: 276c090a9536c0165d10d908862a93e743d3b344
parent: 3280b43ee0fd08655497989df40e540760f24384
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Nov 18 16:59:38 EST 2023
fshalt: get rid of special nvme hack for disk shutdown The kernel has been fixed, no need to exclude nvme drives anymore.
--- a/rc/bin/fshalt
+++ b/rc/bin/fshalt
@@ -30,7 +30,7 @@
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