Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rcS_mode_default
#!/bin/sh
# default rcS running mode script
ulogger -t "rcS_mode_default" -p I "Launching PX4"
echo $((1024*1024)) > /proc/sys/net/core/wmem_max # increase the max socket size
echo 1 > /sys/class/gpio/gpio85/value # enables the fan
/data/ftp/internal_000/px4 -d -s /home/root/px4.config > /home/root/px4.log &
sleep 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.