Skip to content
This repository was archived by the owner on Jul 5, 2025. It is now read-only.

Commit b4c1bc3

Browse files
authored
Merge pull request #63 from dezeroku/to-upstream
Update OpenWRT instructions in readme-vars.yml
2 parents 337d743 + 87ace28 commit b4c1bc3

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

readme-vars.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ app_setup_block: |
9494
commit; save
9595
```
9696
97-
#### Dnsmasq/DD-WRT/Tomato/PIHOLE
97+
#### Dnsmasq/DD-WRT/OpenWRT/Tomato/PIHOLE
9898
Various locations to set Additional/Custom DNSMASQ options in UI or config files
9999
Set the following lines:
100100
```
@@ -111,24 +111,7 @@ app_setup_block: |
111111
dhcp-match=set:efi64-2,60,PXEClient:Arch:00009
112112
dhcp-boot=tag:efi64-2,netboot.xyz.efi,,YOURSERVERIP
113113
```
114-
115-
#### OpenWRT
116-
```
117-
uci set dhcp.@dnsmasq[0].dhcp_match=set:bios,60,PXEClient:Arch:00000
118-
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:bios,netboot.xyz.kpxe,,YOURSERVERIP
119-
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi32,60,PXEClient:Arch:00002
120-
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi32,netboot.xyz.efi,,YOURSERVERIP
121-
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi32-1,60,PXEClient:Arch:00006
122-
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi32-1,netboot.xyz.efi,,YOURSERVERIP
123-
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64,60,PXEClient:Arch:00007
124-
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
125-
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64-1,60,PXEClient:Arch:00008
126-
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi64-1,netboot.xyz.efi,,YOURSERVERIP
127-
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64-2,60,PXEClient:Arch:00009
128-
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi64-2,netboot.xyz.efi,,YOURSERVERIP
129-
uci commit
130-
/etc/init.d/dnsmasq restart
131-
```
114+
Ensure you restart the DNSMASQ service after the changes.
132115
133116
#### Microsoft Server DHCP
134117

0 commit comments

Comments
 (0)