diff options
Diffstat (limited to 'conf.d/network.in')
-rw-r--r-- | conf.d/network.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/conf.d/network.in b/conf.d/network.in new file mode 100644 index 00000000..2bb2b071 --- /dev/null +++ b/conf.d/network.in @@ -0,0 +1,10 @@ +# Assign static IP addresses and run custom scripts per interface +# Seperate commands with ; +# Prefix with ! to run a shell script +# ifconfig_eth0="up; 192.168.0.10 netmask 255.255.255.0; ! echo up" + +# You also have ifup_eth0 and ifdown_eth0 to run other commands when +# eth0 is started and stopped. +# Lastly, the interfaces variable pulls in virtual interfaces that cannot +# be automatically detected. + |