Hello,

I am using busybox v1.9.0, and I am trying to parse the /proc/cmdline, but
the command substitutions/variable assignments do not seem to work

     cat /proc/cmdline | grep nfsroot

within a shell script (using ash), the above works, but when i do the
following


     NFSROOT=`cat /proc/cmdline | grep nfsroot`
     echo $NFSROOT

it does NOT work, i.e. nothing is assigned to NFSROOT.

Everything works on the host machine (bash). Thanks.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to