diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-02-17 20:30:32 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-02-17 20:30:46 -0600 |
commit | ec1fb486c697748fa676b6091e55c2077c894fd4 (patch) | |
tree | af196e260afd143930fd3c5577c51d00213f415c /main/openrc | |
parent | bced29698bad2cb3d9584dedbafe137c67939a8f (diff) | |
download | aports-ec1fb486c697748fa676b6091e55c2077c894fd4.tar.bz2 aports-ec1fb486c697748fa676b6091e55c2077c894fd4.tar.xz |
main/openrc: support multiple interfaces on auto line (closes #531)
Diffstat (limited to 'main/openrc')
-rw-r--r-- | main/openrc/APKBUILD | 4 | ||||
-rw-r--r-- | main/openrc/networking.initd | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD index 2eabc8e49e..53f8542fb9 100644 --- a/main/openrc/APKBUILD +++ b/main/openrc/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=openrc pkgver=0.7.0 -pkgrel=0 +pkgrel=1 pkgdesc="OpenRC manages the services, startup and shutdown of a host" url="http://roy.marples.name/openrc" arch="all" @@ -68,6 +68,6 @@ b1e64885f301166df30be3e3cf5338ff hwdrivers.initd 33ca3e558c42cdd17adccbc7807298f7 keymaps.initd 098a1f16812f56fcb56eb6b6f0fa31f6 modules.initd 408e28f247c7cc71fa104c07869417f4 modloop.initd -daed2d1f6dffb0b87cc49feb53725aa2 networking.initd +af16db0d798392c7c0ed3434e4bad241 networking.initd 0a615d93aab691364c03539c3b496dcc local.start c1ec888202d868710b5749f7b217d1e3 modloop.confd" diff --git a/main/openrc/networking.initd b/main/openrc/networking.initd index c37be9956d..895db59eed 100644 --- a/main/openrc/networking.initd +++ b/main/openrc/networking.initd @@ -22,7 +22,7 @@ find_ifaces() { if [ -n "$single_iface" ]; then echo $single_iface else - awk '$1 == "auto" { print $2}' $ifconf + awk '$1 == "auto" {for (i = 2; i <= NF; i = i + 1) printf("%s ", $i)}' $ifconf fi } |