#!/bin/bash # Copyright (C) by Lieven De Samblanx ON7LDS # Source project NextionDriver installer https://github.com/on7lds/NextionDriver # (c)2018-2019 by ON7LDS # Suit Nextion Model 8/Model 10 # Pi-Star Settings # -->> MMDVM Display Type :Modem # -->> Port /dev/ttyNextionDriver # -->> Nextion Layout: ON7LDS L3 HS # Enter your ssh mode # 1, http://pi-star/admin/expert/ssh_access.php # [More than one hotspot, use the IP address] # 2, Login, # userName: pi-star # Password: raspberry # 3, Copy and paste all of the follow scripts, suggest run one by one. rpi-rw; cd /home/pi-star; # Download and unzip the driver sudo rm -rf NextionDriverInstaller; git clone https://github.com/on7lds/NextionDriverInstaller.git; # install Driver sudo chmod +x NextionDriverInstaller/install.sh; sudo NextionDriverInstaller/install.sh; # update DMR groups list infromation rpi-rw; wget "https://api.brandmeister.network/v1.0/groups/" -O /tmp/groups.txt; sudo cp /tmp/groups.txt /usr/local/etc/ # update DMR all users list infromation wget "https://database.radioid.net/static/user.csv" -O /tmp/stripped.csv; rpi-rw; sudo cp /tmp/stripped.csv /usr/local/etc/; #reboot sudo reboot; # Disable password login rpi-rw; curl -OL https://www.bi7jta.org/files/github_files/add_logs_download_and_disable_passowrd.sh; chmod +x add_logs_download_and_disable_passowrd.sh; ./add_logs_download_and_disable_passowrd.sh;