Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Specific DNS settings
- if {[my isAreaCom]} {
- my setIniParam {
- network/lan/fixed_ip/primary_dns=10.59.0.60
- network/lan/fixed_ip/secondary_dns=10.1.1.11
- network/lan/dhcp/primary_dns/enabled=0
- network/lan/dhcp/secondary_dns/enabled=0
- }
- } else {
- # Actual for x86 and also regular phones from Primary VLAN
- my setIniParam {
- network/lan/fixed_ip/primary_dns=10.59.1.60
- network/lan/fixed_ip/secondary_dns=10.1.1.11
- network/lan/dhcp/primary_dns/enabled=0
- network/lan/dhcp/secondary_dns/enabled=0
- }
- # append configContent "\nnetwork/lan/fixed_ip/primary_dns=10.59.1.60"
- # append configContent "\nnetwork/lan/fixed_ip/secondary_dns=10.1.1.11"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement