mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
acpid: replace "echo -e" with printf
printf is POSIX-compliant, echo -e is not. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
41486e1be8
commit
6b9bc5fe40
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user