==Apple Intel systems==
==Apple Intel systems==
−Apple uses SMC (system management whatchamacallit) rather than ACPI. If your Linux kernel has support for that, there will be some nodes under <code>/sys/devices/platform/applesmc.768</code> on a mac mini; not sure if the 768 is different on other systems, or what. Here's another crude script (which would be better at least re-written in python or something):
+Apple uses SMC (system management whatchamacallit) rather than ACPI. If your Linux kernel has support for that, there will be some nodes under <code>/sys/devices/platform/applesmc.768</code> on a mac mini; not sure if the 768 is different on other systems, or what. Here's another crude script (which would be better at least re-written in python or something, because running multiple "cut" subprocesses is inefficient and brittle):
<pre>
<pre>
</pre>
</pre>
Exception encountered, of type "Error"