fshalt: halt ext4srv as well

This commit is contained in:
Sigrid Solveig Haflínudóttir 2024-02-14 21:51:26 +00:00
parent 64d18a993f
commit 6be977907b

View file

@ -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