This directory contains the files used for both image creation and web based installation for an OGN receiver.
A basic shell script for running the installation on a new device. It relies on the update script to install the correct version for the running hardware. This will create the gpu nodes for RPI and setup a new 'ogn' user that the software will run as.
This script is the device end of the web based configuration found at http://ognconfig.onglide.com/
This script is designed to run as a crontab and check for software updates from the official OGN download servers
This is a system startup script that launches configure. It is activated by bootstrap if selected and is active on binary images. It is disabled once the installation successfully finishes
Making your own image =====================
0. use the bootstrap script to install the ogn tracker. Choose OS upgrade & Web configuration but don't actually do the
web configuration
From here on down is optional if you want to shrink the image size:
delete old logs files, ~/.history etc rm /home/pi/.bash_history /root/.bash_history /home/ogn/.bash_history echo > /var/log/...
If on PI or other big image then remove x11 junk as you don't need it sudo apt-get remove --auto-remove --purge libx11-.* sudo apt-get autoremove
locales and other stuff
sudo apt-get install localepurge deborphan (during install you select which locales to keep! (raspi-config))
localepurge
apt-get remove deborphan
Clean up apt-get junk
if you've done much stuff then (makes it compress better)
(optional) use something like gpart to resize the partition downwards
fdisk /dev/disk2 add start + size together to get number of sectors to copy. dd if=/xxx of=file bs=512 count=#