X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Facpid;h=f9156b920306cf96ffd4228e54e086df9be4115b;hb=1b3f334af67c84997f7b5e6dee56faf556f0ea4b;hp=afb39ecfcaa43b5e2b5d482177e5ff9f1f15aae5;hpb=114ae232b33e1f8dde2418af5fd3c0f0b5e035dd;p=hvlinux.git diff --git a/stage2/pkg/acpid b/stage2/pkg/acpid index afb39ec..f9156b9 100644 --- a/stage2/pkg/acpid +++ b/stage2/pkg/acpid @@ -4,17 +4,7 @@ hvbuild_post() { 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.sh -EOF + 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