forked from EA7KDO/NX4832K035
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheck_install.sh
executable file
·32 lines (31 loc) · 997 Bytes
/
check_install.sh
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
28
29
30
31
32
#!/bin/bash
#########################################################
# Nextion Support for Nextion screen. Used to check #
# if files were installed correctly using Git button #
# #
# KF6S 05-01-2019 #
#########################################################
clear
echo
echo
echo "Check if files are properly installed to support the Nextion Display"
echo
echo
echo "Show Firewall Rule for 5040 if it exists:"
sudo iptables -S | grep --color "5040"
echo
echo
echo "List files in /usr/local/etc/Nextion_Support"
sudo ls -l --color /usr/local/etc/Nextion_Support
echo
echo
echo "Check tft file in /usr/local/etc/"
sudo ls -l --color /usr/local/etc/NX????????.tft | grep --color "NX"
echo
echo
echo "Check to see if ipv4.fw file was copied to /root"
sudo ls -l --color /root/ipv4.fw | grep --color "ipv4.fw"
echo
echo
echo "See if Nextion_Temp exists"
sudo ls -l --color /home/pi-star/Nextion_Temp