-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·27 lines (23 loc) · 823 Bytes
/
Copy pathinstall.sh
File metadata and controls
executable file
·27 lines (23 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
#########################################################
# #
# install pimon #
# #
# Parameter $1 = 'New' will delete stripped2.csv #
# and install from github #
# #
# #
# VE3RD 2022-01-13 #
#########################################################
set -o errexit
sudo mount -o remount,rw /
if [ "$1" = "New" ]; then
rm /usr/local/bin/stripped2.csv
fi
if [ ! -f /home/pi-star/.qrz.conf ]; then
cp ./.qrz.conf /home/pi-star/
fi
if [ ! -f /usr/local/etc/stripped2.csv ]; then
cp ./stripped2.csv /usr/local/bin/
fi
nano /home/pi-star/.qrz.conf