From 6b9bc5fe407c519b048faea22468d59cadec49a1 Mon Sep 17 00:00:00 2001 From: Maxime Hadjinlian Date: Wed, 21 May 2014 10:25:09 +0200 Subject: [PATCH] acpid: replace "echo -e" with printf printf is POSIX-compliant, echo -e is not. Signed-off-by: Maxime Hadjinlian Cc: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- package/acpid/acpid.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/acpid/acpid.mk b/package/acpid/acpid.mk index 1f4ec3172b..7a6a478ed4 100644 --- a/package/acpid/acpid.mk +++ b/package/acpid/acpid.mk @@ -17,7 +17,7 @@ endef define ACPID_SET_EVENTS mkdir -p $(TARGET_DIR)/etc/acpi/events - /bin/echo -e "event=button[ /]power\naction=/sbin/poweroff" \ + printf "event=button[ /]power\naction=/sbin/poweroff\n" \ >$(TARGET_DIR)/etc/acpi/events/powerbtn endef -- 2.30.2