aboutsummaryrefslogtreecommitdiff
path: root/package/udev
diff options
context:
space:
mode:
authorGravatar Maxime Hadjinlian <maxime.hadjinlian@gmail.com>2014-05-14 12:26:53 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-16 22:38:27 +0200
commitec43c84ce8139644bbce260e17693c551baf4135 (patch)
tree71f7d4e98d4ebf0f9c0e72aefc4ad42b62120a24 /package/udev
parentdcab4e880160e37b8d0cb2adb0e2e7b1d490a639 (diff)
downloadbuildroot-ec43c84ce8139644bbce260e17693c551baf4135.tar.gz
buildroot-ec43c84ce8139644bbce260e17693c551baf4135.tar.bz2
udev: 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>
Diffstat (limited to 'package/udev')
-rwxr-xr-xpackage/udev/S10udev4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/udev/S10udev b/package/udev/S10udev
index 2c7b7e917f..cf825b418b 100755
--- a/package/udev/S10udev
+++ b/package/udev/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"