1
0
mirror of https://github.com/PDP-10/its.git synced 2026-03-27 02:24:15 +00:00

WIP: Make gateway configurable.

This commit is contained in:
Adam Sampson
2018-08-16 21:09:46 +01:00
parent d5ef8b01fe
commit 190ffa27bd
4 changed files with 11 additions and 7 deletions

View File

@@ -110,7 +110,9 @@ $(OUT)/system/$(ITSCONFIG): build/$(EMULATOR)/$(ITSCONFIG)
cp=0; ca=0; \
$(TEST) $(CHAOS) != no && cp=1 && ca=$(CHAOS); \
x=`echo $(IP) | tr . ,`; \
g=`echo $(GW) | tr . ,`; \
$(SED) -e "s/%IP%/$$x/" \
-e "s/%GW%/$$g/" \
-e 's/%NETMASK%/$(NETMASK)/' \
-e "s/%CHAOSP%/$$cp/" \
-e "s/%CHAOSA%/$$ca/" < $< > $@