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:
2
Makefile
2
Makefile
@@ -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/" < $< > $@
|
||||
|
||||
Reference in New Issue
Block a user