Skip to content

Commit

Permalink
Syntax fix for quoting network interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Taht committed Sep 16, 2011
1 parent 5cf74ee commit 2ae3187
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 32 deletions.
34 changes: 18 additions & 16 deletions files/etc/config/network
@@ -1,28 +1,30 @@
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'

config interface se00
option ifname se00
option proto static
option ipaddr 172.30.42.33
option netmask 255.255.255.224
option 'ifname' 'se00'
option 'proto' 'static'
option 'ipaddr' '172.30.42.33'
option 'netmask' '255.255.255.224'

config interface ge00
option ifname ge00
option proto dhcp
option 'ifname' 'ge00'
option 'proto' 'dhcp'

config interface sw00
option proto static
option ipaddr 172.30.42.65
option netmask 255.255.255.224
option 'type' 'none'
option 'proto' 'static'
option 'ipaddr' '172.30.42.65'
option 'netmask' '255.255.255.224'

config interface sw10
option proto static
option ipaddr 172.30.42.97
option netmask 255.255.255.224
option 'type' 'none'
option 'proto' 'static'
option 'ipaddr' '172.30.42.97'
option 'netmask' '255.255.255.224'

config switch
option name rtl8366s
Expand Down
34 changes: 18 additions & 16 deletions files/etc/defconfig/wndr3700v2/network
@@ -1,28 +1,30 @@
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'

config interface se00
option ifname se00
option proto static
option ipaddr 172.30.42.33
option netmask 255.255.255.224
option 'ifname' 'se00'
option 'proto' 'static'
option 'ipaddr' '172.30.42.33'
option 'netmask' '255.255.255.224'

config interface ge00
option ifname ge00
option proto dhcp
option 'ifname' 'ge00'
option 'proto' 'dhcp'

config interface sw00
option proto static
option ipaddr 172.30.42.65
option netmask 255.255.255.224
option 'type' 'none'
option 'proto' 'static'
option 'ipaddr' '172.30.42.65'
option 'netmask' '255.255.255.224'

config interface sw10
option proto static
option ipaddr 172.30.42.97
option netmask 255.255.255.224
option 'type' 'none'
option 'proto' 'static'
option 'ipaddr' '172.30.42.97'
option 'netmask' '255.255.255.224'

config switch
option name rtl8366s
Expand Down

0 comments on commit 2ae3187

Please sign in to comment.