diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-23 08:17:11 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-23 08:17:11 +0100 |
commit | cdbbc631f372f53aa151a0ff6a62f8e16a53e598 (patch) | |
tree | 3bd6b21ee74dd94843243e5850c6b955a9686a2d | |
parent | ba19a1ba15a7dfde5aeafa68b98530e6c6a18436 (diff) | |
parent | ac37172b5280e661395035c17d2dfde91672b4b5 (diff) | |
download | px4-firmware-cdbbc631f372f53aa151a0ff6a62f8e16a53e598.tar.gz px4-firmware-cdbbc631f372f53aa151a0ff6a62f8e16a53e598.tar.bz2 px4-firmware-cdbbc631f372f53aa151a0ff6a62f8e16a53e598.zip |
Merge branch 'master' into rssi
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rcS | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index a9c5c59ea..a2e562d6e 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -8,7 +8,6 @@ # set MODE autostart -set LOG_FILE /fs/microsd/bootlog.txt set RC_FILE /fs/microsd/etc/rc.txt set CONFIG_FILE /fs/microsd/etc/config.txt set EXTRAS_FILE /fs/microsd/etc/extras.txt @@ -21,10 +20,12 @@ set TUNE_OUT_ERROR ML<<CP4CP4CP4CP4CP4 echo "[init] Looking for microSD..." if mount -t vfat /dev/mmcsd0 /fs/microsd then + set LOG_FILE /fs/microsd/bootlog.txt echo "[init] microSD card mounted at /fs/microsd" # Start playing the startup tune tone_alarm start else + set LOG_FILE /dev/null echo "[init] No microSD card found" # Play SOS tone_alarm error |