hostapd: enable coredumps
authorFelix Fietkau <nbd@nbd.name>
Fri, 16 Dec 2022 12:09:36 +0000 (13:09 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 16 Dec 2022 13:32:47 +0000 (14:32 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/files/wpad.init

index 79c5bf1075c8b55bfb67f4f68ff52b12da318002..65d46df982a50cc9bd8714252bdda25da10553f4 100644 (file)
@@ -13,6 +13,7 @@ start_service() {
                procd_open_instance hostapd
                procd_set_param command /usr/sbin/hostapd -s -g /var/run/hostapd/global
                procd_set_param respawn 3600 1 0
+               procd_set_param limits core="unlimited"
                [ -x /sbin/ujail -a -e /etc/capabilities/wpad.json ] && {
                        procd_add_jail hostapd
                        procd_set_param capabilities /etc/capabilities/wpad.json
@@ -29,6 +30,7 @@ start_service() {
                procd_open_instance supplicant
                procd_set_param command /usr/sbin/wpa_supplicant -n -s -g /var/run/wpa_supplicant/global
                procd_set_param respawn 3600 1 0
+               procd_set_param limits core="unlimited"
                [ -x /sbin/ujail -a -e /etc/capabilities/wpad.json ] && {
                        procd_add_jail wpa_supplicant
                        procd_set_param capabilities /etc/capabilities/wpad.json