[1/4] hostapd: Enable logging to syslog

Message ID 20241017145416.25394-1-michael.tremer@ipfire.org
State New
Headers
Series [1/4] hostapd: Enable logging to syslog |

Commit Message

Michael Tremer Oct. 17, 2024, 2:54 p.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 config/hostapd/config            | 2 +-
 lfs/hostapd                      | 2 +-
 src/initscripts/packages/hostapd | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
  

Patch

diff --git a/config/hostapd/config b/config/hostapd/config
index a5b4f09be..b59030900 100644
--- a/config/hostapd/config
+++ b/config/hostapd/config
@@ -171,7 +171,7 @@  CONFIG_IEEE80211AX=y
 #CONFIG_DEBUG_FILE=y
 
 # Send debug messages to syslog instead of stdout
-#CONFIG_DEBUG_SYSLOG=y
+CONFIG_DEBUG_SYSLOG=y
 
 # Add support for sending all debug messages (regardless of debug verbosity)
 # to the Linux kernel tracing facility. This helps debug the entire stack by
diff --git a/lfs/hostapd b/lfs/hostapd
index 306b32641..543cc34e2 100644
--- a/lfs/hostapd
+++ b/lfs/hostapd
@@ -33,7 +33,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = hostapd
-PAK_VER    = 66
+PAK_VER    = 67
 
 DEPS       =
 
diff --git a/src/initscripts/packages/hostapd b/src/initscripts/packages/hostapd
index cd2aef9b1..b0a20e7c0 100644
--- a/src/initscripts/packages/hostapd
+++ b/src/initscripts/packages/hostapd
@@ -54,7 +54,7 @@  case "${1}" in
 		fi
 
 		boot_mesg "Starting hostapd... "
-		loadproc /usr/bin/hostapd -B /etc/hostapd.conf -i "${interface}"
+		loadproc /usr/bin/hostapd -s -B /etc/hostapd.conf -i "${interface}"
 		;;
 
 	stop)