mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bernhard Walle <bernhard@bwalle.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 2/2] wpa_supplicant: Add /etc/wpa_supplicant.conf
Date: Sat,  9 Jun 2012 10:03:54 +0200	[thread overview]
Message-ID: <1339229034-18380-2-git-send-email-bernhard@bwalle.de> (raw)
In-Reply-To: <1339229034-18380-1-git-send-email-bernhard@bwalle.de>

Make it possible to install a custom /etc/wpa_supplicant.conf
configuration file for the wpa_supplicant via install_alternative
mechanism of ptxdist.

The default file is just empty.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
 rules/wpa_supplicant.make |    3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 generic/etc/wpa_supplicant.conf

diff --git a/generic/etc/wpa_supplicant.conf b/generic/etc/wpa_supplicant.conf
new file mode 100644
index 0000000..e69de29
diff --git a/rules/wpa_supplicant.make b/rules/wpa_supplicant.make
index d54c6c9..56805be 100644
--- a/rules/wpa_supplicant.make
+++ b/rules/wpa_supplicant.make
@@ -134,6 +134,9 @@ ifdef PTXCONF_WPA_SUPPLICANT_CTRL_IFACE_DBUS
 		/usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service)
 endif
 
+	@$(call install_alternative, wpa_supplicant, 0, 0, 0644, \
+		/etc/wpa_supplicant.conf)
+
 	@$(call install_finish, wpa_supplicant)
 
 	@$(call touch)
-- 
1.7.9.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2012-06-09  8:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-09  8:03 [ptxdist] [PATCH 1/2] wpa_supplicant: Allow disabling of wpa_cli installation Bernhard Walle
2012-06-09  8:03 ` Bernhard Walle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1339229034-18380-2-git-send-email-bernhard@bwalle.de \
    --to=bernhard@bwalle.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox