diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 28804361d1..2c14c39007 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -105,6 +105,13 @@ then fi fi + if [ -e /fs/microsd/new ] + then + echo "Updating external autostart files" + rm -r $SDCARD_EXT_PATH + mv /fs/microsd/new $SDCARD_EXT_PATH + fi + # Check for an update of the ext_autostart folder, and replace the old one with it if [ -e /fs/microsd/ext_autostart_new ] then