aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Maxime Hadjinlian <maxime.hadjinlian@gmail.com>2014-05-14 12:26:52 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-16 22:37:26 +0200
commitdcab4e880160e37b8d0cb2adb0e2e7b1d490a639 (patch)
tree2560af36b48860f702ba4537b67476e74ec06fab
parent252b5a1fc0f6a30807de7912a958a71e83e9e8e0 (diff)
downloadbuildroot-dcab4e880160e37b8d0cb2adb0e2e7b1d490a639.tar.gz
buildroot-dcab4e880160e37b8d0cb2adb0e2e7b1d490a639.tar.bz2
eudev: replace "echo -en" with printf
printf is POSIX-compliant, echo -e/n is not. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rwxr-xr-xpackage/eudev/S10udev4
1 files 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"