info msg for user when starting pxe server
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user