blue-merle/files/etc/init.d/blue-merle
Tobias Mueller bdc8837660 start services earlier to make the client tracking work
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.
2023-10-18 22:37:12 +02:00

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
}