aux/acpi, aux/apm: remove nopipe -i flag
This commit is contained in:
parent
de289929a7
commit
b053f5d060
2 changed files with 2 additions and 16 deletions
|
@ -417,7 +417,7 @@ fsattach(Req *r)
|
|||
static void
|
||||
usage(void)
|
||||
{
|
||||
fprint(2, "usage: aux/acpi [-Di] [-d /dev] [-m /mnt/acpi] [-s service]\n");
|
||||
fprint(2, "usage: aux/acpi [-D] [-d /dev] [-m /mnt/acpi] [-s service]\n");
|
||||
exits("usage");
|
||||
}
|
||||
|
||||
|
@ -448,12 +448,6 @@ threadmain(int argc, char **argv)
|
|||
case 'D':
|
||||
chatty9p = 1;
|
||||
break;
|
||||
case 'i':
|
||||
fs.nopipe++;
|
||||
fs.infd = 0;
|
||||
fs.outfd = 1;
|
||||
mtpt = nil;
|
||||
break;
|
||||
case 'm':
|
||||
mtpt = EARGF(usage());
|
||||
break;
|
||||
|
@ -505,7 +499,6 @@ threadmain(int argc, char **argv)
|
|||
amlenum(amlroot, "_BIF", enumbat, nil);
|
||||
amlenum(amlroot, "_PSL", enumtmp, nil);
|
||||
|
||||
rfork(RFNOTEG);
|
||||
threadpostmountsrv(&fs, srv, mtpt, MREPL);
|
||||
return;
|
||||
|
||||
|
|
|
@ -1081,7 +1081,7 @@ Srv fs = {
|
|||
void
|
||||
usage(void)
|
||||
{
|
||||
fprint(2, "usage: aux/apm [-ADPi] [-d /dev/apm] [-m /mnt/apm] [-s service]\n");
|
||||
fprint(2, "usage: aux/apm [-ADP] [-d /dev/apm] [-m /mnt/apm] [-s service]\n");
|
||||
exits("usage");
|
||||
}
|
||||
|
||||
|
@ -1106,12 +1106,6 @@ threadmain(int argc, char **argv)
|
|||
case 'd':
|
||||
dev = EARGF(usage());
|
||||
break;
|
||||
case 'i':
|
||||
fs.nopipe++;
|
||||
fs.infd = 0;
|
||||
fs.outfd = 1;
|
||||
mtpt = nil;
|
||||
break;
|
||||
case 'm':
|
||||
mtpt = EARGF(usage());
|
||||
break;
|
||||
|
@ -1147,6 +1141,5 @@ threadmain(int argc, char **argv)
|
|||
apminstallationcheck(&apm);
|
||||
apmcpuidle(&apm);
|
||||
|
||||
rfork(RFNOTEG);
|
||||
threadpostmountsrv(&fs, srv, mtpt, MREPL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue