aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/make-pxeboot.sh
diff options
context:
space:
mode:
authorGlenn Brekke <ahrain@ahrain.net>2016-03-18 22:48:01 +0100
committerGlenn Brekke <ahrain@ahrain.net>2016-03-18 22:48:01 +0100
commit54a5afbec8c2abb68d5f05539dbc3b7b89cca0d4 (patch)
tree60dedba00ac5fe04647ad13bc34340ea3d1983df /bootstrap/make-pxeboot.sh
parent8fb5b7047179444b4e08a60b78fa6ad2bcb1cd77 (diff)
Small changes in various bootstrap scripts
Diffstat (limited to 'bootstrap/make-pxeboot.sh')
-rwxr-xr-xbootstrap/make-pxeboot.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap/make-pxeboot.sh b/bootstrap/make-pxeboot.sh
index 9492ad4..4ee0063 100755
--- a/bootstrap/make-pxeboot.sh
+++ b/bootstrap/make-pxeboot.sh
@@ -17,8 +17,6 @@ TFTP_ADDRESS=":69"
TFTP_OPTIONS="--secure"
END
-/etc/init.d/tftpd-hpa restart
-
mkdir -p /var/lib/tftpboot
cd ~/tgmanage
@@ -31,3 +29,7 @@ bootstrap/fetch-debinstall.sh /var/lib/tftpboot/debian
# NOTE! The pxe/ directory contains an 'ubuntu' menu...
# The files required to booting Ubuntu installer or live
# must be fetched manually (for now)
+
+# Restart tftpd-hpa.service
+systemctl restart tftpd-hpa.service
+