From: Nikos Skalkotos Date: Sat, 24 Mar 2012 08:50:03 +0000 (+0200) Subject: Add a new line the end of the acpid action script X-Git-Tag: v0.1~120 X-Git-Url: https://code.grnet.gr/git/snf-image-creator/commitdiff_plain/fc54978ecb94d0803d88485477dee7ffea567a8f Add a new line the end of the acpid action script --- diff --git a/image_creator/os_type/linux.py b/image_creator/os_type/linux.py index 130fbc8..f22eb06 100644 --- 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):