summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorSigrid Solveig Haflínudóttir <sigrid@ftrv.se>2022-08-08 13:12:45 +0000
committerSigrid Solveig Haflínudóttir <sigrid@ftrv.se>2022-08-08 13:12:45 +0000
commit55e5418e6945ec3275d34e04047ad706f6eb8e68 (patch)
treee04930a7a8e3591feb3f98cea2abed67b543c3c8 /sys
parentd83a200295b2364c5e5da82730504d3b9cb7d85b (diff)
acpi: /mnt/acpi → /mnt/pm
Diffstat (limited to 'sys')
-rw-r--r--sys/man/8/acpi2
-rw-r--r--sys/src/cmd/aux/acpi.c4
-rw-r--r--sys/src/cmd/stats.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/man/8/acpi b/sys/man/8/acpi
index fc11c8e5c..56a0201d5 100644
--- a/sys/man/8/acpi
+++ b/sys/man/8/acpi
@@ -19,7 +19,7 @@ acpi \- Advanced Configuration and Power Interface
presents at
.I mountpoint
(default
-.BR /mnt/acpi )
+.BR /mnt/pm )
an interface to the ACPI. If a
.I service
is specified, the interface will be
diff --git a/sys/src/cmd/aux/acpi.c b/sys/src/cmd/aux/acpi.c
index cca662ef3..12f20fda3 100644
--- a/sys/src/cmd/aux/acpi.c
+++ b/sys/src/cmd/aux/acpi.c
@@ -456,7 +456,7 @@ fsattach(Req *r)
static void
usage(void)
{
- fprint(2, "usage: aux/acpi [-Dp] [-m /mnt/acpi] [-s service]\n");
+ fprint(2, "usage: aux/acpi [-Dp] [-m /mnt/pm] [-s service]\n");
exits("usage");
}
@@ -481,7 +481,7 @@ threadmain(int argc, char **argv)
Tbl *t;
int fd, n, l;
- mtpt = "/mnt/acpi";
+ mtpt = "/mnt/pm";
srv = nil;
ARGBEGIN{
case 'D':
diff --git a/sys/src/cmd/stats.c b/sys/src/cmd/stats.c
index e62735dc0..355760a8e 100644
--- a/sys/src/cmd/stats.c
+++ b/sys/src/cmd/stats.c
@@ -622,7 +622,7 @@ initmach(Machine *m, char *name)
snprint(buf, sizeof buf, "%s/mnt/apm/battery", mpt);
m->batteryfd = open(buf, OREAD);
if(m->batteryfd < 0){
- snprint(buf, sizeof buf, "%s/mnt/acpi/battery", mpt);
+ snprint(buf, sizeof buf, "%s/mnt/pm/battery", mpt);
m->batteryfd = open(buf, OREAD);
}
m->bitsybatfd = -1;
@@ -640,7 +640,7 @@ initmach(Machine *m, char *name)
m->tempfd = open(buf, OREAD);
if(m->tempfd < 0){
tempperiod = 5000;
- snprint(buf, sizeof buf, "%s/mnt/acpi/cputemp", mpt);
+ snprint(buf, sizeof buf, "%s/mnt/pm/cputemp", mpt);
m->tempfd = open(buf, OREAD);
}
if(loadbuf(m, &m->tempfd))