summaryrefslogtreecommitdiff
path: root/conf.d/network.Linux
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-19 21:30:39 -0400
committerWilliam Hubbs <williamh@gentoo.org>2011-10-20 14:32:37 -0500
commit9a539ebbe1ee0c8557fbcdf22e849534dcbd9b53 (patch)
tree9936901aa8c8231d49145894456ff6f40a74c0ae /conf.d/network.Linux
parent9c77502f964ef368892598b4fb30c4909fe3d360 (diff)
downloadopenrc-9a539ebbe1ee0c8557fbcdf22e849534dcbd9b53.tar.gz
openrc-9a539ebbe1ee0c8557fbcdf22e849534dcbd9b53.tar.bz2
openrc-9a539ebbe1ee0c8557fbcdf22e849534dcbd9b53.tar.xz
further clean up OS differences in makefiles
No need for if() logic. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'conf.d/network.Linux')
-rw-r--r--conf.d/network.Linux43
1 files changed, 0 insertions, 43 deletions
diff --git a/conf.d/network.Linux b/conf.d/network.Linux
deleted file mode 100644
index f57ec91..0000000
--- a/conf.d/network.Linux
+++ /dev/null
@@ -1,43 +0,0 @@
-
-# You can assign a default route
-#defaultroute="gw 192.168.0.1"
-#defaultroute6="gw 2001:a:b:c"
-
-# ifconfig under Linux is not that powerful and doesn't easily handle
-# multiple addresses
-# On the other hand, ip (iproute2) is quite powerful and is also supported
-#ip_eth0="192.168.0.10/24; 192.168.10.10/24"
-
-# You can also use ip to add the default route.
-#defaultiproute="via 192.168.0.1"
-#defaultiproute6="via 2001:a:b:c"
-
-# ip doesn't handle MTU like ifconfig, but we can do it like so
-#ifup_eth0="ip link set \$int mtu 1500"
-
-# Create a bonded interface
-#interfaces="bond0"
-#ifup_bond0="modprobe bonding; ifconfig \$int up; ifenslave \$int bge0"
-#ifconfig_bond0="192.168.0.10 netmask 255.255.255.0"
-#ifdown_bond0="rmmod bonding"
-
-# Create tap interface and a bridge interface.
-# We add the tap to the bridge.
-# An external program, like dhcpcd, will configure the IP on the bridge
-#interfaces="tun0 br0"
-#ifup_tun0="tunctl -t \$int"
-#ifdown_tun0="tunctl -d \$int"
-#ifup_br0="brctl addbr \$int; brctl add \$int eth1; brtctl add \$int eth2"
-#ifdown_br0="ifconfig \$int down; btctl delbr \$int"
-
-# Create VLAN
-#interfaces="eth0_2 eth0_3 eth0_4"
-#ifup_eth0="vconfig add \$int 2; vconfig add \$int 3; vconfig add \$int 4"
-#ifconfig_eth0_2="192.168.2.10 netmask 255.255.255.0"
-#ifconfig_eth0_3="192.168.3.10 netmask 255.255.255.0"
-#ifconfig_eth0_4="192.168.4.10 netmask 255.255.255.0"
-#ifdown_eth0="vconfig rem \$int.2; vconfig rem \$int.3; vconfig rem \$int.4"
-
-# Normally you would use wpa_supplicant to configure wireless, but you can
-# use iwconfig also
-#ifup_wlan0="iwconfig \$int key s:secretkey enc open essid foobar"