mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
improvements
This commit is contained in:
parent
8744f513d5
commit
701b0ced0b
1 changed files with 11 additions and 3 deletions
|
@ -6,7 +6,7 @@ if [ -z "$who" ]; then
|
||||||
who="noname"
|
who="noname"
|
||||||
fi
|
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
|
# 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`
|
OS_VER=`cat /etc/iiab/iiab.env | grep OS_VER | cut -d'=' -f2`
|
||||||
pushd /opt/iiab/iiab
|
pushd /opt/iiab/iiab
|
||||||
|
@ -69,7 +69,7 @@ echo "=========================================================="
|
||||||
echo Checking for information about raspberry pi base image
|
echo Checking for information about raspberry pi base image
|
||||||
if [ -f /etc/rpi-issue ];then
|
if [ -f /etc/rpi-issue ];then
|
||||||
cat /etc/rpi-issue
|
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
|
else
|
||||||
echo "not a raspberry pi"
|
echo "not a raspberry pi"
|
||||||
fi
|
fi
|
||||||
|
@ -82,7 +82,7 @@ echo "/etc/resolv.conf"
|
||||||
cat /etc/resolv.conf
|
cat /etc/resolv.conf
|
||||||
echo
|
echo
|
||||||
echo "=========================================================="
|
echo "=========================================================="
|
||||||
echo "cat iiab_ini_file "
|
echo "/etc/iiab_ini_file "
|
||||||
cat /etc/iiab/iiab.ini
|
cat /etc/iiab/iiab.ini
|
||||||
echo
|
echo
|
||||||
echo "=========================================================="
|
echo "=========================================================="
|
||||||
|
@ -90,6 +90,14 @@ echo "routing table"
|
||||||
netstat -rn
|
netstat -rn
|
||||||
echo
|
echo
|
||||||
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"
|
echo "port usage"
|
||||||
netstat -natp
|
netstat -natp
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue