2013-03-05 17:34:19 +00:00
|
|
|
# Call a script to generate an /etc/network/interfaces file to DHCP all available interfaces
|
|
|
|
# Then remove this config file so the script is never run again
|
|
|
|
|
|
|
|
description "DHCP any connected, but unconfigured network interfaces"
|
|
|
|
|
2013-10-11 18:02:52 +00:00
|
|
|
start on starting network-interface
|
|
|
|
instance $INTERFACE
|
2013-03-05 17:34:19 +00:00
|
|
|
|
|
|
|
task
|
|
|
|
|
|
|
|
exec /usr/local/sbin/generate-interfaces-file.sh
|