Advertisement
Guest User

Untitled

a guest
Aug 14th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.88 KB | None | 0 0
  1.         # Specific DNS settings
  2.         if {[my isAreaCom]} {
  3.             my setIniParam {
  4.                 network/lan/fixed_ip/primary_dns=10.59.0.60
  5.                 network/lan/fixed_ip/secondary_dns=10.1.1.11
  6.                 network/lan/dhcp/primary_dns/enabled=0
  7.                 network/lan/dhcp/secondary_dns/enabled=0
  8.             }
  9.         } else {
  10.             # Actual for x86 and also regular phones from Primary VLAN
  11.             my setIniParam {
  12.                 network/lan/fixed_ip/primary_dns=10.59.1.60
  13.                 network/lan/fixed_ip/secondary_dns=10.1.1.11
  14.                 network/lan/dhcp/primary_dns/enabled=0
  15.                 network/lan/dhcp/secondary_dns/enabled=0
  16.             }
  17.             # append configContent "\nnetwork/lan/fixed_ip/primary_dns=10.59.1.60"
  18.             # append configContent "\nnetwork/lan/fixed_ip/secondary_dns=10.1.1.11"
  19.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement