projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reinstall shadow after PAM
[hvlinux.git]
/
stage2
/
pkg
/
acpid
diff --git
a/stage2/pkg/acpid
b/stage2/pkg/acpid
index
5339d26
..
afb39ec
100644
(file)
--- a/
stage2/pkg/acpid
+++ b/
stage2/pkg/acpid
@@
-2,7
+2,7
@@
hvbuild_post()
{
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
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
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
install -v -m755 ${SCRDIR}/misc/acpi/suspend2ram.sh /etc/acpi
install -v -m755 ${SCRDIR}/misc/acpi/shutdown.sh /etc/acpi