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>
This commit is contained in:
parent
252b5a1fc0
commit
dcab4e8801
@ -27,8 +27,8 @@ test -r $UDEV_CONFIG || exit 6
|
|||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
echo -n "Populating ${udev_root:-/dev} using udev: "
|
printf "Populating ${udev_root:-/dev} using udev: "
|
||||||
echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
|
printf '\000\000\000\000' > /proc/sys/kernel/hotplug
|
||||||
$UDEV_BIN -d || (echo "FAIL" && exit 1)
|
$UDEV_BIN -d || (echo "FAIL" && exit 1)
|
||||||
udevadm trigger
|
udevadm trigger
|
||||||
echo "done"
|
echo "done"
|
||||||
|
Loading…
Reference in New Issue
Block a user