#!/bin/bash

echo "OPENING PXE CONFIG FILES"
sudo pluma /etc/default/isc-dhcp-server &
sudo pluma /etc/default/tftpd-hpa &
sudo pluma /etc/dhcp/dhcpd.conf &
sudo pluma /srv/tftp/autoexec.ipxe
echo "PRESS ENTER TO RELOAD PXE"
read -n1
sudo systemctl restart isc-dhcp-server
sudo systemctl restart tftpd-hpa
#sudo systemctl restart nfs-kernel-server
#sudo systemctl restart apache2

