5da1f1324b
Rename generate-interfaces-file.sh to dhcp-all-interfaces.sh so that it is easier to find/remember in the $PATH on a deployed image. Also, on some distros the script actually generates many files so the previous name was a bit confusing. Change-Id: I7152fa7c28e8ade251311da2cd5f75972423b66c
11 lines
335 B
Text
11 lines
335 B
Text
# Call a script to generate a /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"
|
|
|
|
start on starting network-interface
|
|
instance $INTERFACE
|
|
|
|
task
|
|
|
|
exec /usr/local/sbin/dhcp-all-interfaces.sh
|