mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] hostapd: add an option to install hostapd_cli
@ 2026-04-29 20:59 Ladislav Michl
  0 siblings, 0 replies; only message in thread
From: Ladislav Michl @ 2026-04-29 20:59 UTC (permalink / raw)
  To: ptxdist

From: Ladislav Michl <ladis@triops.cz>

Signed-off-by: Ladislav Michl <ladis@triops.cz>

diff --git a/rules/hostapd.in b/rules/hostapd.in
index 9c95fe373..62e9f8207 100644
--- a/rules/hostapd.in
+++ b/rules/hostapd.in
@@ -24,6 +24,12 @@ menuconfig HOSTAPD
 
 if HOSTAPD
 
+config HOSTAPD_CLI
+	bool
+	prompt "Install hostapd_cli"
+	help
+	  Install hostapd command-line interface
+
 config HOSTAPD_SYSTEMD_UNIT
 	bool
 	prompt "Enable systemd support"
diff --git a/rules/hostapd.make b/rules/hostapd.make
index 1cd3886a9..dfdc637d0 100644
--- a/rules/hostapd.make
+++ b/rules/hostapd.make
@@ -74,6 +74,10 @@ $(STATEDIR)/hostapd.targetinstall:
 	@$(call install_copy, hostapd, 0, 0, 0755, -, /usr/sbin/hostapd)
 	@$(call install_alternative, hostapd, 0, 0, 0644, /etc/hostapd/hostapd.conf)
 
+ifdef PTXCONF_HOSTAPD_CLI
+	@$(call install_copy, hostapd, 0, 0, 0755, -, /usr/sbin/hostapd_cli)
+endif
+
 ifdef PTXCONF_HOSTAPD_SYSTEMD_UNIT
 	@$(call install_alternative, hostapd, 0, 0, 0644, \
 		/usr/lib/systemd/system/hostapd.service)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-29 20:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-29 20:59 [ptxdist] [PATCH] hostapd: add an option to install hostapd_cli Ladislav Michl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox