fix comparison in rcS
fix if in rc.interface
Merge pull request #709 from PX4/rcs_hotfix

startup scripts hotfix
Merge branch 'master' into sdlog2_opt
sdlog2: move some global variables to local scope, set default log rate to 50 Hz