X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Facpid;h=afb39ecfcaa43b5e2b5d482177e5ff9f1f15aae5;hb=0364372bf9bf57502160adc0402e38b8ea235c24;hp=5339d2669f72124d2037953c58d2ac6a6eef86fa;hpb=e834051c6c8f8cc6d30c181efec384fb7b5d5364;p=hvlinux.git diff --git a/stage2/pkg/acpid b/stage2/pkg/acpid index 5339d26..afb39ec 100644 --- a/stage2/pkg/acpid +++ b/stage2/pkg/acpid @@ -2,7 +2,7 @@ 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 @@ -13,7 +13,8 @@ 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 +action=/etc/acpi/shutdown.sh +EOF install -v -m755 ${SCRDIR}/misc/acpi/suspend2ram.sh /etc/acpi install -v -m755 ${SCRDIR}/misc/acpi/shutdown.sh /etc/acpi