summaryrefslogtreecommitdiffstats
path: root/examples/ethernet-iproute.example
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-02-16 12:11:47 +0100
committerJames Rayner <james@archlinux.org>2009-02-16 12:11:47 +0100
commitcd45b96d742d5e7bfc6478eb0cf5585dcba348ea (patch)
tree0c943cd6639f61d17780d9c3ea87262026dae24f /examples/ethernet-iproute.example
parent9550b3675ab99e4bc36f5606a8cd5f0037a6ed00 (diff)
downloadnetctl-cd45b96d742d5e7bfc6478eb0cf5585dcba348ea.tar.gz
netctl-cd45b96d742d5e7bfc6478eb0cf5585dcba348ea.tar.xz
Basic example configurations for the new system
Diffstat (limited to 'examples/ethernet-iproute.example')
-rwxr-xr-xexamples/ethernet-iproute.example6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/ethernet-iproute.example b/examples/ethernet-iproute.example
new file mode 100755
index 0000000..a368707
--- /dev/null
+++ b/examples/ethernet-iproute.example
@@ -0,0 +1,6 @@
+CONNECTION="ethernet-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")