auto lo

iface lo inet loopback

auto eth0
allow-hotplug eth0

iface eth0 inet dhcp
	metric 50
iface default inet dhcp
	metric 70


#no auto, we will start it with udev if needed
#${REDPINE_AP_ENABLED}auto wifi0
${REDPINE_AP_ENABLED}iface wifi0 inet static
${REDPINE_AP_ENABLED}		address ${wifi0.address}
${REDPINE_AP_ENABLED}		netmask ${wifi0.netmask}
${REDPINE_AP_ENABLED}		broadcast ${wifi0.broadcast}


#no auto, we will start it with udev if needed
#${REDPINE_STATION_ENABLED}auto wifi1
${REDPINE_STATION_ENABLED}iface wifi1 inet manual
${REDPINE_STATION_ENABLED}	metric 60
        