hjfs: default service name, fshalt

This commit is contained in:
aiju 2012-08-07 18:43:13 +02:00
parent 4c4a3cbfd4
commit 2e19497159
2 changed files with 7 additions and 1 deletions

View file

@ -24,6 +24,7 @@ sleep 1
k=`{ls /srv/kfs*cmd >[2]/dev/null|sort -r} k=`{ls /srv/kfs*cmd >[2]/dev/null|sort -r}
c=`{ls /srv/cwfs*cmd >[2]/dev/null} c=`{ls /srv/cwfs*cmd >[2]/dev/null}
h=`{ls /srv/hjfs*cmd >[2]/dev/null}
for (i in $k){ for (i in $k){
echo -n $i... echo -n $i...
@ -81,6 +82,11 @@ fn x {
echo halt >>$i echo halt >>$i
sleep 2 sleep 2
} }
for(i in $h){
echo -n $i
echo halt >>$i
sleep 2
}
echo echo
echo done halting echo done halting

View file

@ -78,7 +78,7 @@ threadmain(int argc, char **argv)
doream = 0; doream = 0;
stdio = 0; stdio = 0;
flags = FSNOAUTH; flags = FSNOAUTH;
service = "fs"; service = "hjfs";
file = nil; file = nil;
nbuf = 10; nbuf = 10;
ARGBEGIN { ARGBEGIN {