adding new network_info.sh tool to system info page
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Display network info for phpsysinfo
|
||||
|
||||
echo "LAN IP: $(hostname -I|cut -d' ' -f1)"
|
||||
echo "Public IP: $(curl -s4 ifconfig.co)"
|
||||
echo
|
||||
echo "------------------------------"
|
||||
echo ' $(ip a) '
|
||||
ip a
|
||||
Reference in New Issue
Block a user