X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Facpid;h=f9156b920306cf96ffd4228e54e086df9be4115b;hb=8a12114ecc9a0f7d97ab543785a1a758ea4d0973;hp=5339d2669f72124d2037953c58d2ac6a6eef86fa;hpb=e834051c6c8f8cc6d30c181efec384fb7b5d5364;p=hvlinux.git diff --git a/stage2/pkg/acpid b/stage2/pkg/acpid index 5339d26..f9156b9 100644 --- a/stage2/pkg/acpid +++ b/stage2/pkg/acpid @@ -2,18 +2,9 @@ hvbuild_post() { - install -d -m755 /etc/acpi/events + install -v -d -m755 /etc/acpi/events - cat > /etc/acpi/events/button-lid << EOF -# When the lid is closed, go into suspend to ram -event=button/lid -action=/etc/acpi/suspend2ram.sh -EOF - - cat > /etc/acpi/events/button-power << EOF -# When the power button is pressed, shutdown the system. -event=button/power -action=/etc/acpi/shutdown.shEOF + install -v -m644 ${SCRDIR}/misc/acpi/events/* /etc/acpi/events install -v -m755 ${SCRDIR}/misc/acpi/suspend2ram.sh /etc/acpi install -v -m755 ${SCRDIR}/misc/acpi/shutdown.sh /etc/acpi