drop unused networking macros

This commit is contained in:
2021-03-22 15:41:52 +01:00
parent 313178cee6
commit 2ed28a55de

View File

@@ -43,7 +43,7 @@ epicsEnvSet CA_AUTO_172.25,"NO"
# All others can work with the defaults: automatic
# Apply settings dependent on network
system "/sbin/ifconfig `/sbin/route -n|awk '/^0.0.0.0/{print $8}'`|awk -F '[.: ]+' -vP=epicsEnvSet -vN=NET -vI=IPADDR -vB=BCADDR -vD=. '/Bcast/{print P,N 1,$9ORS P,N 2,$10ORS P,N 3,$11ORS P,I,$4D$5D$6D$7ORS P,B,$9D$10D$11D$12}/broadcast/{print P,N 1,$13ORS P,N 2,$14ORS P,N 3,$15ORS P,I,$3D$4D$5D$6ORS P,B,$13D$14D$15D$16}'>/tmp/$(IOC).net"
system "/sbin/ifconfig `/sbin/route -n|awk '/^0.0.0.0/{print $8}'`|awk -F '[.: ]+' -vP=epicsEnvSet -vN=NET '/Bcast/{print P,N 1,$9ORS P,N 2,$10ORS P,N 3,$11}/broadcast/{print P,N 1,$13ORS P,N 2,$14ORS P,N 3,$15}'>/tmp/$(IOC).net"
< /tmp/$(IOC).net
system "rm /tmp/$(IOC).net"
epicsEnvSet EPICS_CA_ADDR_LIST,"$(CA_$(NET1=).$(NET2=).$(NET3=)=$(CA_$(NET1=).$(NET2=)=))"