On 30.05.2011 12:17, walter harms wrote:
> Perhaps we can put out a warning ....
>   start) echo "Starting mdev...";
>
>       if [ -w /proc/sys/kernel/hotplug ]
>       then
>           echo /sbin/mdev > /proc/sys/kernel/hotplug;
>       else
>         printf "no writeable /proc/sys/kernel/hotplug found \n"
>       fi
>           /sbin/mdev -s;
>           ;;

That looks like being a comfort solution ... ;-)

Why "printf" and not "echo"? Any difference or just personal preference?
I think echo in shell scripts is more portable than printf.

--
Harald
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to