Browse Source
Static interfaces are still configured on the fly as we add them, but discussions on the mailing list have suggested that we need to have finer control over bringing up dhcp interfaces. The default hook just runs all the requested dhclients in parallel and waits for them to all return. If you need something more complicated than this, or need to have more control over bringing interfaces up, you will probably need to override some stuff in the 40network hook.master


5 changed files with 13 additions and 4 deletions
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh |
||||
for i in /net.*.dhcp; do |
||||
dev=${i#net.}; dev=${i%.dhcp} |
||||
dhclient -1 -q $dev & |
||||
done |
||||
wait |
||||
|
Loading…
Reference in new issue