info msg for user when starting pxe server

pull/63/head
TomasM 2018-10-11 14:35:15 -05:00
parent 62e4ef0ffd
commit 3fd5c6b4de
1 changed files with 2 additions and 0 deletions

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)