ROMFS rcS execute (optional) rc.board_defaults after AUTOCNF set

This commit is contained in:
Daniel Agar 2019-01-18 10:47:39 -05:00
parent 52c848a556
commit 1ded189f58
1 changed files with 11 additions and 11 deletions

View File

@ -152,17 +152,6 @@ else
param reset
fi
#
# Optional board defaults: rc.board_defaults
#
set BOARD_RC_DEFAULTS /etc/init.d/rc.board_defaults
if [ -f $BOARD_RC_DEFAULTS ]
then
echo "Board defaults: ${BOARD_RC_DEFAULTS}"
sh $BOARD_RC_DEFAULTS
fi
unset BOARD_RC_DEFAULTS
#
# Set AUTOCNF flag to use it in AUTOSTART scripts.
#
@ -175,6 +164,17 @@ else
set AUTOCNF no
fi
#
# Optional board defaults: rc.board_defaults
#
set BOARD_RC_DEFAULTS /etc/init.d/rc.board_defaults
if [ -f $BOARD_RC_DEFAULTS ]
then
echo "Board defaults: ${BOARD_RC_DEFAULTS}"
sh $BOARD_RC_DEFAULTS
fi
unset BOARD_RC_DEFAULTS
#
# Waypoint storage.
# REBOOTWORK this needs to start in parallel.