mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
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:
parent
3280b43ee0
commit
276c090a95
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ sleep 1
|
||||||
|
|
||||||
c=`{ls /srv/cwfs*cmd >[2]/dev/null}
|
c=`{ls /srv/cwfs*cmd >[2]/dev/null}
|
||||||
h=`{ls /srv/hjfs*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
|
# for scram, don't scram other systems
|
||||||
bind -b '#P' /dev >[2]/dev/null
|
bind -b '#P' /dev >[2]/dev/null
|
||||||
|
|
Loading…
Reference in a new issue