projects
/
snf-image-creator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39cfd61
)
Add a new line the end of the acpid action script
author
Nikos Skalkotos
<skalkoto@grnet.gr>
Sat, 24 Mar 2012 08:50:03 +0000
(10:50 +0200)
committer
Nikos Skalkotos
<skalkoto@grnet.gr>
Sat, 24 Mar 2012 08:50:03 +0000
(10:50 +0200)
image_creator/os_type/linux.py
patch
|
blob
|
history
diff --git
a/image_creator/os_type/linux.py
b/image_creator/os_type/linux.py
index
130fbc8
..
f22eb06
100644
(file)
--- a/
image_creator/os_type/linux.py
+++ b/
image_creator/os_type/linux.py
@@
-67,7
+67,7
@@
class Linux(Unix):
print 'Fixing acpid powerdown action'
powerbtn_action = '#!/bin/sh\n\nPATH=/sbin:/bin:/usr/bin\n' \
- 'shutdown -h now \"Power button pressed\"'
+ 'shutdown -h now \"Power button pressed\"\n'
events_dir = '/etc/acpi/events'
if not self.g.is_dir(events_dir):