From dea2c12405f72c45b5fb5350d45017fb90a8b4d6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 8 Dec 2006 05:23:08 +0000 Subject: use '/bin/echo -e' to make certain we don't use an unusable /bin/sh builtin --- package/acpid/acpid.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/acpid') diff --git a/package/acpid/acpid.mk b/package/acpid/acpid.mk index bd0ed406d..31afba813 100644 --- a/package/acpid/acpid.mk +++ b/package/acpid/acpid.mk @@ -24,7 +24,7 @@ $(ACPID_DIR)/acpid: $(ACPID_DIR)/.unpacked $(TARGET_DIR)/usr/sbin/acpid: $(ACPID_DIR)/acpid cp -a $(ACPID_DIR)/acpid $(TARGET_DIR)/usr/sbin/acpid mkdir -p $(TARGET_DIR)/etc/acpi/events - echo -e "event=button[ /]power\naction=/sbin/poweroff" > $(TARGET_DIR)/etc/acpi/events/powerbtn + /bin/echo -e "event=button[ /]power\naction=/sbin/poweroff" > $(TARGET_DIR)/etc/acpi/events/powerbtn touch -c $(TARGET_DIR)/usr/sbin/acpid acpid: $(TARGET_DIR)/usr/sbin/acpid -- cgit v1.2.3