]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
hostapd: Remove DEBUG= setting on update
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 14 Jan 2026 14:36:33 +0000 (14:36 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 14 Jan 2026 14:36:33 +0000 (14:36 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/hostapd
src/paks/hostapd/update.sh

index 4f8a7d4bc044d6078e888bddab9bfeaf27f2cf65..1bb77a5e83404f4da3f7323c51a9b6f851d94958 100644 (file)
@@ -33,7 +33,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = hostapd
-PAK_VER    = 70
+PAK_VER    = 71
 
 DEPS       =
 
index 46deb04d1fa10f9a8c766c7f7986ce864534bdcc..05d197603a7b5f83a174da5af3e40c90b7baf5c3 100644 (file)
 #
 . /opt/pakfire/lib/functions.sh
 exctract_backup_includes
+
+# Remove any previous DEBUG= statements
+if [ -e "/var/ipfire/wlanap/settings" ]; then
+       sed -e "/^DEBUG=/d" -i /var/ipfire/wlanap/settings
+fi
+
 ./uninstall.sh
 ./install.sh