From 1a527ba9b4fe86d60fa87a7945c5cb39b36a2155 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sat, 25 Apr 2015 09:01:22 +0200 Subject: ROMFS: Be less verbose on boot --- ROMFS/px4fmu_common/init.d/rc.io | 7 +++++-- ROMFS/px4fmu_common/init.d/rcS | 13 ++----------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/rc.io b/ROMFS/px4fmu_common/init.d/rc.io index e957626ce..86042220e 100644 --- a/ROMFS/px4fmu_common/init.d/rc.io +++ b/ROMFS/px4fmu_common/init.d/rc.io @@ -16,5 +16,8 @@ then set PX4IO_LIMIT 200 fi -echo "[i] Set PX4IO update rate limit: $PX4IO_LIMIT Hz" -px4io limit $PX4IO_LIMIT +if px4io limit $PX4IO_LIMIT +then +else + echo "[i] Set PX4IO update rate to $PX4IO_LIMIT Hz failed!" +fi diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index e04945e96..1237d9bb1 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -24,7 +24,6 @@ set LOG_FILE /fs/microsd/bootlog.txt # Try to mount the microSD card. # # REBOOTWORK this needs to start after the flight control loop -echo "[i] Looking for microSD..." if mount -t vfat /dev/mmcsd0 /fs/microsd then echo "[i] microSD mounted: /fs/microsd" @@ -53,11 +52,9 @@ fi # if [ -f $FRC ] then - echo "[i] Executing init script: $FRC" + echo "[i] Executing script: $FRC" sh $FRC set MODE custom -else - echo "[i] Init script not found: $FRC" fi unset FRC @@ -175,10 +172,8 @@ then # if [ -f $FCONFIG ] then - echo "[i] Config: $FCONFIG" + echo "[i] Custom config: $FCONFIG" sh $FCONFIG - else - echo "[i] Config not found: $FCONFIG" fi unset FCONFIG @@ -331,10 +326,8 @@ then then if px4io start then - echo "[i] PX4IO started" sh /etc/init.d/rc.io else - echo "[i] ERROR: PX4IO start failed" tone_alarm $TUNE_ERR fi fi @@ -682,8 +675,6 @@ then then echo "[i] Addons script: $FEXTRAS" sh $FEXTRAS - else - echo "[i] No addons script: $FEXTRAS" fi unset FEXTRAS -- cgit v1.2.3