Hi,

I received a strange problem with the following script:

#!/bin/sh

REPO_MSG='/mnt/flash'
LOG='log.txt'

function f1 {
        if["$a" != "$b"];then
                prev_a=$a
        else
                echo "a"        
        fi
}

while [1];do    
        echo "Running"
        #Call function 
        f1
done

When I run the script I received 
function not found

and seems that I arrive inside the while in fact I didn't see the
output "Running"..

I think that the syntax should be correct, maybe busybox  doesn't
support something?

Thank you for replay!


Reply via email to