Created
May 7, 2020 17:00
-
-
Save AndKe/0e01cad478a26dfebb072f5bbffcc0e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment