projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change flac download URL
[hvlinux.git]
/
stage2
/
pkg
/
acpid
diff --git
a/stage2/pkg/acpid
b/stage2/pkg/acpid
index
8eabe5a
..
f9156b9
100644
(file)
--- a/
stage2/pkg/acpid
+++ b/
stage2/pkg/acpid
@@
-2,16
+2,12
@@
hvbuild_post()
{
hvbuild_post()
{
- install -d -m755 /etc/acpi/events
+ install -
v -
d -m755 /etc/acpi/events
- cat > /etc/acpi/events/s2ram << EOF
-# When a button/power event is received, the hvs2ram script is run.
+ install -v -m644 ${SCRDIR}/misc/acpi/events/* /etc/acpi/events
-event=button/power
-action=/usr/local/bin/hvs2ram
-EOF
-
- install -m755 ${SCRDIR}/misc/hvs2ram /usr/local/bin
+ install -v -m755 ${SCRDIR}/misc/acpi/suspend2ram.sh /etc/acpi
+ install -v -m755 ${SCRDIR}/misc/acpi/shutdown.sh /etc/acpi
install -v -m740 ${SCRDIR}/bootscripts/acpid /etc/rc.d/init.d
bootscript_add_rcsysinit acpid 65 90
install -v -m740 ${SCRDIR}/bootscripts/acpid /etc/rc.d/init.d
bootscript_add_rcsysinit acpid 65 90