CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/Frame_params/Parrot_Disco/rcS_mode_default
Views: 1799
#!/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