Skip to content

Commit

Permalink
fine-tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Slotter committed Jan 1, 2022
1 parent cc5c40a commit f78832a
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
Binary file added HamPi_Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions balena.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: HamPi and HamPC
description: >-
a ham radio software distribution for the Raspberry Pi and x86_64 Linux PC
version: 2.0.0
type: sw.application
assets:
repository:
type: blob.asset
data:
url: 'https://github.com/dslotter/hampi'
logo:
type: blob.asset
data:
url: 'https://raw.githubusercontent.com/dslotter/hampi/master/HamPi_Logo.png'
data:
defaultDeviceType: raspberrypi4
supportedDeviceTypes:
- raspberrypi4
- raspberrypi3
- raspberrypizerow2
- raspberrypi400
- intel-nuc
- genericx86-64-ext
6 changes: 6 additions & 0 deletions files/home/hampc/.config/autostart/boinc.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/env bash

# Check for less than 2GB RAM
if [ $MEM -lt 2097152 ]; then
echo "Not enough memory to proceed..."
exit 0
fi

sleep 60 # Give network time to come online...

boinccmd --acct_mgr attach https://bam.boincstats.com/ "169373_cb27b99639409722eb67cc774b50e1c1" "169373_cb27b99639409722eb67cc774b50e1c1"
2 changes: 2 additions & 0 deletions files/home/pi/.config/lxsession/LXDE-pi/boinc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ if [ $MEM -lt 2097152 ]; then
exit 0
fi

sudo -u root /etc/init.d/boinc-client start

sleep 60 # Give network time to come online...

boinccmd --acct_mgr attach https://bam.boincstats.com/ "169373_cb27b99639409722eb67cc774b50e1c1" "169373_cb27b99639409722eb67cc774b50e1c1"

0 comments on commit f78832a

Please sign in to comment.