From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B9212138E95 for ; Sun, 16 Oct 2016 16:13:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1CB16E0BDC; Sun, 16 Oct 2016 16:13:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05AE6E0BDC for ; Sun, 16 Oct 2016 16:13:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2ABD0341117 for ; Sun, 16 Oct 2016 16:13:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE1CE2FC for ; Sun, 16 Oct 2016 16:13:26 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1476634257.c44c904a61418189c989e978b0237e5b161263ef.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: init.d.misc/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d.misc/wpa_supplicant.in X-VCS-Directories: init.d.misc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: c44c904a61418189c989e978b0237e5b161263ef X-VCS-Branch: master Date: Sun, 16 Oct 2016 16:13:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dd6368ea-391d-4336-9f3d-a685a3d7e77f X-Archives-Hash: beafbf8d6dabab3e890add6ff87f3036 commit: c44c904a61418189c989e978b0237e5b161263ef Author: Joe Maloney gmail com> AuthorDate: Fri Oct 14 03:09:22 2016 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun Oct 16 16:10:57 2016 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=c44c904a init.d.misc/wpa_supplicant: find wireless interface for FreeBSD This fixes #101. init.d.misc/wpa_supplicant.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.d.misc/wpa_supplicant.in b/init.d.misc/wpa_supplicant.in index e7cd12d..7b7ddc5 100644 --- a/init.d.misc/wpa_supplicant.in +++ b/init.d.misc/wpa_supplicant.in @@ -39,6 +39,11 @@ find_wireless() fi done ;; + FreeBSD) + for iface in $(sysctl -b net.wlan.devices 2>/dev/null); do + echo "${iface##*/}" + done + ;; *) for iface in /dev/net/* $(ifconfig -l 2>/dev/null); do if ifconfig "${iface##*/}" 2>/dev/null | \