git: 9front

Download patch

ref: 2c29f05545ad454664ab245b74e8921cdf7fecf6
parent: a0132ad79d17757e95496cd6351e127c41dc9330
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
--