summaryrefslogtreecommitdiff
path: root/0001-modify-the-templates-etc-dhcp.template.patch
blob: 9e7cf10ec98b20d59f3a3913a288ff6b8c2ffb3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From e4ff3cbad33c3d5549acc70c148b7a07d697d926 Mon Sep 17 00:00:00 2001
From: YanZhicong <mryanzhicong@163.com>
Date: Wed, 19 Mar 2025 09:53:01 +0800
Subject: [PATCH] modify the templates/etc/dhcp.template

---
 templates/etc/dhcp.template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/etc/dhcp.template b/templates/etc/dhcp.template
index 698c826..8afecea 100644
--- a/templates/etc/dhcp.template
+++ b/templates/etc/dhcp.template
@@ -34,12 +34,12 @@ subnet 192.168.1.0 netmask 255.255.255.0 {
               filename "pxelinux.0";
           }
           # UEFI-32-1
-          if option system-arch = 00:06 {
+          else if option system-arch = 00:06 {
                # Not supported, no 32 bit UEFI grub executable
               filename "unsupported";
           }
           # UEFI-32-2
-          if option system-arch = 00:02 {
+          else if option system-arch = 00:02 {
               # Not supported, no 32 bit UEFI grub executable
               filename "unsupported";
           }
-- 
2.33.0