summaryrefslogtreecommitdiffstats
path: root/examples/ethernet-iproute
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-02-26 10:42:04 +0100
committerJames Rayner <james@archlinux.org>2009-02-26 10:42:04 +0100
commit9997a323581c7152e67830690d80d213d7c0d2e2 (patch)
tree80cf66634917464880ef78abd22a216b2d67f808 /examples/ethernet-iproute
parentc2838593ab2cc04cb702042066d912f1bcbcc201 (diff)
downloadnetctl-9997a323581c7152e67830690d80d213d7c0d2e2.tar.gz
netctl-9997a323581c7152e67830690d80d213d7c0d2e2.tar.xz
Update and re-arrange examples, update wireless quirk options, stop
using deprecated sys interface
Diffstat (limited to 'examples/ethernet-iproute')
-rwxr-xr-xexamples/ethernet-iproute7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/ethernet-iproute b/examples/ethernet-iproute
new file mode 100755
index 0000000..6ac20e1
--- /dev/null
+++ b/examples/ethernet-iproute
@@ -0,0 +1,7 @@
+CONNECTION="ethernet-iproute"
+DESCRIPTION="A more versatile static ethernet connection using iproute"
+INTERFACE="eth0"
+IP="static"
+# Any valid iproute command can be placed in this array
+IPCFG=("addr add dev eth0 192.168.1.23/24 brd +" "route add default via 192.168.1.1")
+DNS=("192.168.1.1")