Commit ef05303b authored by Michael Shigorin's avatar Michael Shigorin

power: don't mess up e2k's /etc/modules

button.ko isn't compiled within elbrus kernel (or used in any way).
parent 01bdf28b
#!/bin/sh -efu
# provide kernel interface for ACPI power button
if [ -x /etc/init.d/acpid ]; then
if [ `arch` != e2k -a -x /etc/init.d/acpid ]; then
grep -qsx button /etc/modules || echo button >> /etc/modules
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment