nsh scripting:source (.) cmd supported

This commit is contained in:
David Sidrane
2020-06-22 13:53:01 -07:00
committed by Daniel Agar
parent df30f29a55
commit 185ffe9e13
93 changed files with 121 additions and 121 deletions
+3 -3
View File
@@ -61,7 +61,7 @@ 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
. $BOARD_RC_DEFAULTS
fi
unset BOARD_RC_DEFAULTS
@@ -87,7 +87,7 @@ set BOARD_RC_SENSORS /etc/init.d/rc.board_sensors
if [ -f $BOARD_RC_SENSORS ]
then
echo "Board sensors: ${BOARD_RC_SENSORS}"
sh $BOARD_RC_SENSORS
. $BOARD_RC_SENSORS
fi
unset BOARD_RC_SENSORS
@@ -95,7 +95,7 @@ unset BOARD_RC_SENSORS
# Start UART/Serial device drivers.
# Note: rc.serial is auto-generated from Tools/serial/generate_config.py
#
sh /etc/init.d/rc.serial
. /etc/init.d/rc.serial
# Check for flow sensor
if param compare SENS_EN_PX4FLOW 1
@@ -15,7 +15,7 @@
# @maintainer Lorenz Meier <lorenz@px4.io>
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -23,7 +23,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
if [ $AUTOCNF = yes ]
then
@@ -21,7 +21,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
if [ $AUTOCNF = yes ]
then
@@ -23,7 +23,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
if [ $AUTOCNF = yes ]
then
@@ -23,7 +23,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
if [ $AUTOCNF = yes ]
then
@@ -8,7 +8,7 @@
# @maintainer Lorenz Meier <lorenz@px4.io>
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
set MIXER quad_x
set PWM_OUT 1234
@@ -8,7 +8,7 @@
# @maintainer Roman Bapst <roman@auterion.com>
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -22,7 +22,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
set MIXER hexa_cox
@@ -8,7 +8,7 @@
# @maintainer Romain Chiappinelli <romain.chiap@gmail.com>
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
set MIXER quad_x
set PWM_OUT 1234
@@ -20,7 +20,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
set MIXER octo_cox
@@ -20,7 +20,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
if [ $AUTOCNF = yes ]
then
@@ -18,7 +18,7 @@
# @output AUX5 Throttle
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -13,7 +13,7 @@
# @maintainer Roman Bapst <roman@px4.io>
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -22,7 +22,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -8,7 +8,7 @@
# @maintainer Roman Bapst <roman@px4.io>
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -21,7 +21,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -21,7 +21,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -19,7 +19,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -11,7 +11,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -11,7 +11,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -11,7 +11,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -12,7 +12,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -20,7 +20,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -17,7 +17,7 @@
# @output MAIN8 Pusher reverse channel
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -21,7 +21,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -24,7 +24,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -16,7 +16,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.vtol_defaults
. /etc/init.d/rc.vtol_defaults
if [ $AUTOCNF = yes ]
then
@@ -16,7 +16,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
set MIXER tri_y_yaw+
@@ -16,7 +16,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
set MIXER tri_y_yaw-
@@ -17,7 +17,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
set MIXER coax
if [ $AUTOCNF = yes ]
@@ -18,7 +18,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
# Configure as helicopter (number 4 defined in commander_helper.cpp)
set MAV_TYPE 4
@@ -24,7 +24,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -22,7 +22,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -24,7 +24,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -24,7 +24,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -25,7 +25,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -14,7 +14,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.airship_defaults
. /etc/init.d/rc.airship_defaults
if [ $AUTOCNF = yes ]
then
@@ -19,6 +19,6 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
set MIXER fw_generic_wing
@@ -20,7 +20,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -21,7 +21,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -19,7 +19,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -21,7 +21,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -19,7 +19,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -17,6 +17,6 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
set MIXER Viper
@@ -20,7 +20,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -21,7 +21,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -19,7 +19,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.fw_defaults
. /etc/init.d/rc.fw_defaults
if [ $AUTOCNF = yes ]
then
@@ -20,7 +20,7 @@
# @maintainer Lorenz Meier <lorenz@px4.io>
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
set MIXER quad_x
@@ -11,7 +11,7 @@
# @board bitcraze_crazyflie exclude
#
sh /etc/init.d/rc.mc_defaults
. /etc/init.d/rc.mc_defaults
set MIXER quad_x
set PWM_OUT 1234

Some files were not shown because too many files have changed in this diff Show More