Skip to contentSkip to conversation

svn commit: trunk/buildroot/package: acpid config

Buildroot andersen at uclibc.org 1 participant 1 message Dec 8, 2006

lore
Share & tools
lore
#0 lore raw

Author: andersen
Date: 2006-12-07 21:23:08 -0800 (Thu, 07 Dec 2006) New Revision: 16810

Log:
use '/bin/echo -e' to make certain we don't use an unusable /bin/sh builtin

Modified:
trunk/buildroot/package/acpid/acpid.mk
trunk/buildroot/package/config/Makefile

Changeset:
Modified: trunk/buildroot/package/acpid/acpid.mk
===================================================================

buildroot/package/acpid/acpid.mk +1 -1
@@ -24,7 +24,7 @@
 $(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

Modified: trunk/buildroot/package/config/Makefile
===================================================================

buildroot/package/config/Makefile +1 -1
@@ -116,7 +116,7 @@
 		$(RM) lxtemp.c a.out; \
 	else \
 		$(RM) lxtemp.c; \
-		echo -e "\007" ;\
+		/bin/echo -e "\007" ;\
 		echo ">> Unable to find the Ncurses libraries." ;\
 		echo ">>" ;\
 		echo ">> You must have Ncurses installed in order" ;\