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