aboutsummaryrefslogtreecommitdiff
path: root/conf.d/network.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-04-19 21:35:26 +0000
committerRoy Marples <roy@marples.name>2009-04-19 21:35:26 +0000
commit7e9cdbd16efae84169bf93d115d02fe36289781c (patch)
treefb2e5abca27b39a697f9b72599b5d8200f64ab1c /conf.d/network.in
parenta2856fe1922df9ae066bdf6074fbbb06c5401459 (diff)
Document \$int and how to create bridge and vlan interfaces.
Diffstat (limited to 'conf.d/network.in')
-rw-r--r--conf.d/network.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf.d/network.in b/conf.d/network.in
index ab054664..cee7ef00 100644
--- a/conf.d/network.in
+++ b/conf.d/network.in
@@ -1,6 +1,7 @@
# Assign static IP addresses and run custom scripts per interface.
# Seperate commands with ;
# Prefix with ! to run a shell script.
+# Use \$int to represent the interface
# ifconfig_eth0="192.168.0.10 netmask 255.255.255.0"
# You also have ifup_eth0 and ifdown_eth0 to run other commands when
@@ -17,4 +18,5 @@
# /etc/ifup.eth0 is equivalent to ifup_eth0
# /etc/ifdown.eth0 is equivalent to ifdown_eth0
# Any files found will automatically be put into the interfaces variable.
+# You don't need to escape variables in files, so use $int instead of \$int.