Date: Mon, 02 Feb 2015 12:21:19 +0000 From: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= <royger@FreeBSD.org> To: FreeBSD CURRENT <freebsd-current@freebsd.org>, hrs@FreeBSD.org Subject: [RFC] load network config file from netif init script Message-ID: <54CF6BBF.9050906@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------060704030308040407010706 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hello, r272959 broke compatibility with mfsBSD that stores the default network config file in /etc/rc.conf.d/network. In order to fix that load the network config file from netif also. I'm attaching a patch to restore previous functionality, but since I'm not an expert on rc.d init scripts I would like some feedback on whether this is the right approach or not. Thanks, Roger. --------------060704030308040407010706 Content-Type: text/plain; charset=UTF-8; name="0001-rc.d-load-the-network-config-file-for-netif.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-rc.d-load-the-network-config-file-for-netif.patch" RnJvbSA3ZmYxYjQyN2YzMWQ5MmZmNTVmMzIwMjFiNzhiYWU1NzZkNzVjMGM3IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBSb2dlciBQYXUgTW9ubmUgPHJvZ2VyLnBhdUBjaXRy aXguY29tPgpEYXRlOiBUdWUsIDI3IEphbiAyMDE1IDE0OjAxOjE2ICswMTAwClN1YmplY3Q6 IFtQQVRDSF0gcmMuZDogbG9hZCB0aGUgbmV0d29yayBjb25maWcgZmlsZSBmb3IgbmV0aWYK CnIyNzI5NTkgYnJva2UgY29tcGF0aWJpbGl0eSB3aXRoIG1mc0JTRCB0aGF0IHN0b3JlcyB0 aGUgZGVmYXVsdCBuZXR3b3JrCmNvbmZpZyBmaWxlIGluIC9ldGMvcmMuY29uZi5kL25ldHdv cmsuIEluIG9yZGVyIHRvIGZpeCB0aGF0IGxvYWQgdGhlIG5ldHdvcmsKY29uZmlnIGZpbGUg ZnJvbSBuZXRpZiBhbHNvLgotLS0KIGV0Yy9yYy5kL25ldGlmIHwgMyArKysKIDEgZmlsZSBj aGFuZ2VkLCAzIGluc2VydGlvbnMoKykKCmRpZmYgLS1naXQgYS9ldGMvcmMuZC9uZXRpZiBi L2V0Yy9yYy5kL25ldGlmCmluZGV4IGRkMGRkZTIuLjYyYWQzMWYgMTAwNzU1Ci0tLSBhL2V0 Yy9yYy5kL25ldGlmCisrKyBiL2V0Yy9yYy5kL25ldGlmCkBAIC0yNTIsNSArMjUyLDggQEAg bmV0aWZfY29tbW9uKCkKIAlkZWJ1ZyAiVGhlIGZvbGxvd2luZyBpbnRlcmZhY2VzIHdlcmUg bm90IGNvbmZpZ3VyZWQ6ICRfZmFpbCIKIH0KIAorIyBMb2FkIHRoZSBvbGQgIm5ldHdvcmsi IGNvbmZpZyBmaWxlIGFsc28gZm9yIGNvbXBhdGliaWxpdHkuCisjIFRoaXMgaXMgbmVlZGVk IGZvciBtZnNCU0QgYXQgbGVhc3QuCitsb2FkX3JjX2NvbmZpZyBuZXR3b3JrCiBsb2FkX3Jj X2NvbmZpZyAkbmFtZQogcnVuX3JjX2NvbW1hbmQgJCoKLS0gCjEuOS4zIChBcHBsZSBHaXQt NTApCgo= --------------060704030308040407010706--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54CF6BBF.9050906>