-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Raspberry Pi OS auto-configuration files "ssh" and "userconf.txt"
Bump major version number to 3.0 Add About menu item and support files Remove hard-coded "pi" which snuck into various places Change "pi" user to "hampi"
- Loading branch information
Dave Slotter
committed
May 15, 2022
1 parent
3f9fda0
commit e174515
Showing
42 changed files
with
138 additions
and
82 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hampi:$6$ROr8FS4LXyKAi1mz$cOdzsTWYYMbxvtcNwiGBoBHLgQkuG16tGSU6Rmp5yXjrdjS/qfJNHvfi.b.OHb9oGGy718hqYIybe2rCZG5ZT. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PRETTY_NAME="HamPC 2.1 (April 2022)" | ||
PRETTY_NAME="HamPC 3.0 (May 2022)" | ||
NAME="HamPC" | ||
VERSION_ID="2,1" | ||
VERSION="2.1 (April 2021)" | ||
VERSION_ID="3,0" | ||
VERSION="3.0 (May 2022)" | ||
HOME_URL="http://hampi.radiowaves.ca" | ||
SUPPORT_URL="https://groups.io/g/Ham-Pi" | ||
BUG_REPORT_URL="https://github.com/dslotter/HamPi/issues/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PRETTY_NAME="HamPi 2.1 (April 2022)" | ||
PRETTY_NAME="HamPi 3.0 (May 2022)" | ||
NAME="HamPi" | ||
VERSION_ID="2,1" | ||
VERSION="2.1 (April 2022)" | ||
VERSION_ID="3,0" | ||
VERSION="3.0 (May 2022)" | ||
HOME_URL="http://hampi.radiowaves.ca" | ||
SUPPORT_URL="https://groups.io/g/Ham-Pi" | ||
BUG_REPORT_URL="https://github.com/dslotter/HamPi/issues/" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
sed -i '/@\/home\/hampi\/.config\/lxsession\/LXDE-pi\/qslware.sh/d' /home/{{ ham_user }}/.config/lxsession/LXDE-pi/autostart |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/bash | ||
|
||
VER=`grep -o '".*"' /etc/hampi-release | sed 's/"//g' | head -n 1` | ||
SUPPORT_URL=`grep -o 'SUPPORT_URL.*' /etc/hampi-release | sed -e 's/SUPPORT_URL=//g' -e 's/"//g' | head -n 1` | ||
BUG_REPORT_URL=`grep -o 'BUG_REPORT_URL.*' /etc/hampi-release | sed -e 's/BUG_REPORT_URL=//g' -e 's/"//g' | head -n 1` | ||
|
||
zenity --info --width=450 --title "About HamPi" --text "${VER}\n\nSupport url: <a href=\"${SUPPORT_URL}\">${SUPPORT_URL}</a>\n\nBug report url: <a href=\"${BUG_REPORT_URL}\">${BUG_REPORT_URL}</a>\n\nCopyright 2020 - 2022, Dave Slotter (<a href=\"https://qrz.com/db/W3DJS\">W3DJS</a>)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
pi@hampi:~ $ cat /usr/local/share/applications/noaa-apt.desktop | ||
[Desktop Entry] | ||
Name=NOAA Apt Image Decoder | ||
GenericName=NOAA Apt Image Decoder | ||
Comment=Image decoder for APT signals from NOAA satellites | ||
Exec=/home/pi/hamradio/noaa-apt/target/release/noaa-apt | ||
Path=/home/pi/hamradio/noaa-apt | ||
Icon=/home/pi/hamradio/noaa-apt/res/icon.png | ||
Exec=/home/hampi/hamradio/noaa-apt/target/release/noaa-apt | ||
Path=/home/hampi/hamradio/noaa-apt | ||
Icon=/home/hampi/hamradio/noaa-apt/res/icon.png | ||
Terminal=false | ||
Type=Application | ||
Categories=HamRadio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Desktop Entry] | ||
Version=1.0 | ||
Encoding=UTF-8 | ||
Type=Application | ||
Name=About HamPi | ||
Exec=/usr/bin/about_hampi | ||
Terminal=false | ||
Comment=About HamPi | ||
Icon=hampi | ||
Categories=HamRadio | ||
Keywords=HamRadio |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# | ||
# Copyright 2020 - 2022, Dave Slotter (W3DJS). All rights reserved. | ||
# | ||
|
||
- name: About HamPi menu | ||
hosts: all | ||
gather_facts: no | ||
tasks: | ||
|
||
- name: Create /usr/share/icons/{{ ham_user }}/[RESOLUTION] directory | ||
become: yes | ||
file: | ||
path: /usr/share/icons/{{ ham_user }}/{{ item }} | ||
state: directory | ||
mode: 644 | ||
with_items: | ||
- 256x256 | ||
- 128x128 | ||
- 64x64 | ||
- 48x48 | ||
- 32x32 | ||
|
||
- name: Create HamPi icon in /usr/share/icons | ||
become: yes | ||
copy: | ||
src: "{{ playbook_dir }}/../files/usr/share/icons/{{ ham_user }}.png" | ||
dest: "/usr/share/icons/{{ ham_user }}.png" | ||
mode: 644 | ||
|
||
- name: Create HamPi icon in /usr/share/icons/{{ ham_user }}/[RESOLUTION] | ||
become: yes | ||
copy: | ||
src: "{{ playbook_dir }}/../files/usr/share/icons/{{ ham_user }}/{{ ham_user }}.png" | ||
dest: "/usr/share/icons/{{ ham_user }}/{{ item }}/{{ ham_user }}.png" | ||
mode: 644 | ||
with_items: | ||
- 256x256 | ||
- 128x128 | ||
- 64x64 | ||
- 48x48 | ||
- 32x32 | ||
|
||
- name: Create /usr/share/pixmaps/{{ ham_user }}/[RESOLUTION] directory | ||
become: yes | ||
file: | ||
path: /usr/share/pixmaps/{{ ham_user }}/{{ item }} | ||
state: directory | ||
mode: 644 | ||
with_items: | ||
- 256x256 | ||
- 128x128 | ||
- 64x64 | ||
- 48x48 | ||
- 32x32 | ||
|
||
- name: Create HamPi icon in /usr/share/pixmaps | ||
become: yes | ||
copy: | ||
src: "{{ playbook_dir }}/../files/usr/share/pixmaps/{{ ham_user }}.png" | ||
dest: "/usr/share/pixmaps/{{ ham_user }}.png" | ||
mode: 644 | ||
|
||
- name: Create HamPi icon in /usr/share/pixmaps/{{ ham_user }}/[RESOLUTION] | ||
become: yes | ||
copy: | ||
src: "{{ playbook_dir }}/../files/usr/share/pixmaps/{{ ham_user }}/{{ ham_user }}.png" | ||
dest: "/usr/share/pixmaps/{{ ham_user }}/{{ item }}/{{ ham_user }}.png" | ||
mode: 644 | ||
with_items: | ||
- 256x256 | ||
- 128x128 | ||
- 64x64 | ||
- 48x48 | ||
- 32x32 | ||
|
||
- name: Create HamPi desktop file in /usr/share/applications | ||
become: yes | ||
copy: | ||
src: "{{ playbook_dir }}/../files/usr/share/applications/HamPi.desktop" | ||
dest: "/usr/share/applications/HamPi.desktop" | ||
mode: 644 | ||
|
||
- name: Create HamPi script in /usr/bin | ||
become: yes | ||
copy: | ||
src: "{{ playbook_dir }}/../files/usr/bin/about_{{ ham_user }}" | ||
dest: "/usr/bin/about_{{ ham_user }}" | ||
mode: 755 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters