Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
FS#6699 - Network startscript - profile chain
Attached to Project:
AUR web interface
Opened by Peter Feuerer (piie) - Saturday, 24 March 2007, 23:22 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 08 May 2007, 16:11 GMT
Opened by Peter Feuerer (piie) - Saturday, 24 March 2007, 23:22 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 08 May 2007, 16:11 GMT
|
DetailsI patched the /etc/rc.d/network script, to start network profiles in a
chain, and stop as soon as the first network successfully started. Therefore I introduced a new modifier in /etc/rc.conf for the NET_PROFILES line, the colon. Little example: /etc/rc.conf: NET_PROFILES=(prof1 prof2 :prof3 prof4 :prof5) prof1, prof2 and prof4 are started the "old" way. prof3 and prof5 are stored in the chain and the script tries first to start prof3, if it successes, prof5 is skipped. Starting a profile can fail, if the cable is not plugged in (tested with mii-tool), or there is no dhcp response (if dhcp is used). Patch attached (cd /etc/rc.d/ ; patch < /path/to/network.patch) |
This task depends upon
Comment by Peter Feuerer (piie) -
Tuesday, 03 April 2007, 10:42 GMT
this ticket is in wrong project, opened new one in arch project. please delete / close this one.
network.patch