1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

improvements

This commit is contained in:
George Hunt 2019-05-09 05:30:54 +00:00
parent 8744f513d5
commit 701b0ced0b

View file

@ -6,7 +6,7 @@ if [ -z "$who" ]; then
who="noname"
fi
read -p "\n\nIf this is a request for help, what email addr for response" email
read -p "\n\nIf this is a request for help, what is your email address? " email
# Build up a meaningful name for transmission back to the development team
OS_VER=`cat /etc/iiab/iiab.env | grep OS_VER | cut -d'=' -f2`
pushd /opt/iiab/iiab
@ -69,7 +69,7 @@ echo "=========================================================="
echo Checking for information about raspberry pi base image
if [ -f /etc/rpi-issue ];then
cat /etc/rpi-issue
echo "stage 2 = lite; stage 3 = desktop"
echo "stage 2 = lite; stage 3 = desktop SEE github.com/RPi-Distro/pi-gen#stage-anatomy"
else
echo "not a raspberry pi"
fi
@ -82,7 +82,7 @@ echo "/etc/resolv.conf"
cat /etc/resolv.conf
echo
echo "=========================================================="
echo "cat iiab_ini_file "
echo "/etc/iiab_ini_file "
cat /etc/iiab/iiab.ini
echo
echo "=========================================================="
@ -90,6 +90,14 @@ echo "routing table"
netstat -rn
echo
echo "=========================================================="
echo "iptales-save output"
iptables-save
echo
echo "=========================================================="
echo "/usr/bin/iiab-gen-iptable"
cat /usr/bin/iiab-gen-iptables
echo
echo "=========================================================="
echo "port usage"
netstat -natp
echo