kopia lustrzana https://github.com/cyoung/stratux
Update install and auto-start scripts.
rodzic
9989b913bc
commit
93a2d82f96
|
@ -19,4 +19,8 @@ fi
|
||||||
|
|
||||||
/usr/bin/stratux-screen.py start
|
/usr/bin/stratux-screen.py start
|
||||||
|
|
||||||
|
route add default gw 10.26.36.1
|
||||||
|
|
||||||
|
screen -d -m -S ahrs_approx /usr/bin/ahrs_approx
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -37,6 +37,9 @@ cp image/99-uavionix.rules work/bin/
|
||||||
cp image/motd work/bin/
|
cp image/motd work/bin/
|
||||||
cp image/stratux-wifi.sh work/bin/
|
cp image/stratux-wifi.sh work/bin/
|
||||||
cp image/rc.local work/bin/
|
cp image/rc.local work/bin/
|
||||||
|
cp test-data/ahrs/ahrs_table.log work/bin/
|
||||||
|
cp ahrs_approx work/bin/
|
||||||
|
|
||||||
|
|
||||||
#TODO: librtlsdr.
|
#TODO: librtlsdr.
|
||||||
cd work/
|
cd work/
|
||||||
|
|
|
@ -75,3 +75,8 @@ cd web/ && make stratuxBuild=${stratuxBuild}
|
||||||
# Remove old Wi-Fi watcher script.
|
# Remove old Wi-Fi watcher script.
|
||||||
rm -f /usr/sbin/wifi_watch.sh
|
rm -f /usr/sbin/wifi_watch.sh
|
||||||
sed -i "/\bwifi_watch\b/d" /etc/rc.local
|
sed -i "/\bwifi_watch\b/d" /etc/rc.local
|
||||||
|
|
||||||
|
# AHRS approx data.
|
||||||
|
cp -f ahrs_table.log /root/
|
||||||
|
cp -f ahrs_approx /usr/bin/
|
||||||
|
chmod 755 /usr/bin/ahrs_approx
|
||||||
|
|
Ładowanie…
Reference in New Issue