Skip to content

Instantly share code, notes, and snippets.

@mhkabir
Last active May 14, 2017 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mhkabir/b0433f0651f006e3c7ac4e1cbd83f1e8 to your computer and use it in GitHub Desktop.
Save mhkabir/b0433f0651f006e3c7ac4e1cbd83f1e8 to your computer and use it in GitHub Desktop.
#!/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
px4 -d /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