mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-04-29 22:24:32 +02:00
17 lines
380 B
Bash
Executable File
17 lines
380 B
Bash
Executable File
#!/bin/sh
|
|
|
|
logfile=/log/3dr-solo.log
|
|
|
|
# This is run once from inittab when entering run level 3.
|
|
# WiFi has not quite finished initializing by then, so wait a bit.
|
|
# Running on ifup does not work; wifi is never finished scanning at that point.
|
|
sleep 10
|
|
|
|
echo "" >> ${logfile}
|
|
|
|
grep ^acs_num_scans= /etc/hostapd.conf >> ${logfile}
|
|
|
|
survey_dump >> ${logfile}
|
|
|
|
echo "" >> ${logfile}
|