info msg for user when starting pxe server

This commit is contained in:
TomasM
2018-10-11 14:35:15 -05:00
parent 62e4ef0ffd
commit 3fd5c6b4de
+2
View File
@@ -17,6 +17,8 @@ if [ "$IP" = "" ]; then
ifconfig $(ls -1 /sys/class/net | egrep -v '^lo$' | sort | head -n 1) $IP netmask 255.255.255.0
fi
echo Starting PXE server on $IP ...
# calculate C class range
RANGE=$(echo $IP | cut -d "." -f 1-3)