Browse Source

Improve hostapd debugging

Alexandre Aubin 3 years ago
parent
commit
017c6dec05
1 changed files with 1 additions and 0 deletions
  1. 1 0
      conf/ynh-hotspot

+ 1 - 0
conf/ynh-hotspot

@@ -387,6 +387,7 @@ case "$1" in
         start_hostapd ${i}
 
         if [ ! $? -eq 0 ]; then
+          journalctl -u hostapd -n 100 --no-hostname --no-pager
           exit 1
         fi