From dcab4e880160e37b8d0cb2adb0e2e7b1d490a639 Mon Sep 17 00:00:00 2001 From: Maxime Hadjinlian Date: Wed, 14 May 2014 12:26:52 +0200 Subject: [PATCH] eudev: replace "echo -en" with printf printf is POSIX-compliant, echo -e/n is not. Signed-off-by: Maxime Hadjinlian Acked-by: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- package/eudev/S10udev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/eudev/S10udev b/package/eudev/S10udev index e4d28a2323..e00aa91842 100755 --- a/package/eudev/S10udev +++ b/package/eudev/S10udev @@ -27,8 +27,8 @@ test -r $UDEV_CONFIG || exit 6 case "$1" in start) - echo -n "Populating ${udev_root:-/dev} using udev: " - echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug + printf "Populating ${udev_root:-/dev} using udev: " + printf '\000\000\000\000' > /proc/sys/kernel/hotplug $UDEV_BIN -d || (echo "FAIL" && exit 1) udevadm trigger echo "done"