mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
2531938269
no need for scram to be a c program and duplicate the acpi shutdown code. try writing power off to /dev/pmctl or fall back to the new -H flag for aux/acpi.
5 lines
75 B
Bash
Executable file
5 lines
75 B
Bash
Executable file
#!/bin/rc
|
|
if(test -e /dev/pmctl)
|
|
echo power off >>/dev/pmctl
|
|
|
|
aux/acpi -H
|