mirror of https://github.com/ArduPilot/ardupilot
15 lines
414 B
Bash
Executable File
15 lines
414 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# default rcS running mode script
|
|
|
|
echo $((1024*1024)) > /proc/sys/net/core/wmem_max # inscrease the max socket size
|
|
if test -x /data/ftp/internal_000/ardupilot/start_ardupilot.sh; then
|
|
ulogger -t "rcS_mode_default" -p I "Launching ArduPilot"
|
|
/data/ftp/internal_000/ardupilot/start_ardupilot.sh
|
|
else
|
|
ulogger -t "rcS_mode_default" -p I "Launching Dragon"
|
|
DragonStarter.sh -out2null &
|
|
fi
|
|
sleep 1
|
|
|