mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
fshalt: halt ext4srv as well
This commit is contained in:
parent
64d18a993f
commit
6be977907b
1 changed files with 3 additions and 2 deletions
|
@ -30,6 +30,7 @@ sleep 1
|
|||
|
||||
c=`{ls /srv/cwfs*cmd >[2]/dev/null}
|
||||
h=`{ls /srv/hjfs*cmd >[2]/dev/null}
|
||||
e=`{ls /srv/ext4*cmd >[2]/dev/null}
|
||||
s=`{awk '/^sd./ {print substr($1,3,1)}' '#S/sdctl' >[2]/dev/null}
|
||||
|
||||
# for scram, don't scram other systems
|
||||
|
@ -65,9 +66,9 @@ bind /tmp /bin
|
|||
fn x {
|
||||
echo
|
||||
echo -n halting...
|
||||
for(i in $c $h)
|
||||
for(i in $c $h $e)
|
||||
echo halt >>$i
|
||||
for(i in $c $h){
|
||||
for(i in $c $h $e){
|
||||
echo -n $i...
|
||||
while(test -e $i)
|
||||
sleep 1
|
||||
|
|
Loading…
Reference in a new issue