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