busybox shell refuses to execute the particular line of script

Posted by neil1234 on Stack Overflow See other posts from Stack Overflow or by neil1234
Published on 2010-04-15T03:58:41Z Indexed on 2010/04/15 4:03 UTC
Read the original article Hit count: 465

Filed under:
|
|

Hi, I am using busybox shell to execute a script which the bash executes when i boot linux using the nfs. Please let me know the correct alternative for this line.

cur_major=$((0x`stat -c %t $dev 2>/dev/null`))

The busybox throws in an error saying "0x" syntax error, which i understand is the problem with the syntax of this line.

Thanks in advance

© Stack Overflow or respective owner

Related posts about busybox

Related posts about shell