mirror of
https://github.com/srlabs/blue-merle.git
synced 2025-01-07 21:37:58 -05:00
bdc8837660
My hypothesis is that our script does not fully finish before the next daemon starts. I don't fully understand why our script does not seem to finish before the next script runs. But this appears to be working better.
17 lines
495 B
Bash
Executable File
17 lines
495 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
|
|
. /lib/blue-merle/functions.sh
|
|
|
|
# We intend to be started before the first network-related service is started.
|
|
# According to https://openwrt.org/docs/techref/initscripts, /etc/rc.d/ determines
|
|
# the order of the services to be started (or stopped). The lower the number,
|
|
# the earlier the service is started.
|
|
# We observe "repeater" having the value 15. "network" 20. We certainly want to ahead of those.
|
|
START=10
|
|
STOP=99
|
|
|
|
start() {
|
|
RESET_BSSIDS
|
|
RANDOMIZE_MACADDR
|
|
}
|