Commit ec43c84c authored by Maxime Hadjinlian's avatar Maxime Hadjinlian Committed by Peter Korsgaard
Browse files

udev: replace "echo -en" with printf



printf is POSIX-compliant, echo -e/n is not.

Signed-off-by: default avatarMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Acked-by: default avatarThomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent dcab4e88
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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"