Both:
babeld_hosts at:
|
[ "$SERVICE" == "babeld" ] && [ "$ACTION" == "service.start" ] && |
and
bat_hosts at:
|
[ "x$ACTION" == "xifup" ] && ((sleep 30; shared-state-publish_bat_hosts; shared-state sync bat-hosts)&) |
Are scheduled to publish on boot (and interface up).
And also at:
|
logger -p daemon.info -t shared-state "Generating and publishing databases" |
Shared State schedules all publishers to publish on boot, so we are doing it twice for these two, overloading the boot process.
Both:
babeld_hosts at:
lime-packages/packages/shared-state-babeld_hosts/files/etc/hotplug.d/initd/shared-state-babeld_hosts
Line 6 in aa55eb8
and
bat_hosts at:
lime-packages/packages/shared-state-bat_hosts/files/etc/hotplug.d/iface/shared-state-bat_hosts.sh
Line 2 in aa55eb8
Are scheduled to publish on boot (and interface up).
And also at:
lime-packages/packages/shared-state/files/etc/init.d/shared-state
Line 6 in aa55eb8
Shared State schedules all publishers to publish on boot, so we are doing it twice for these two, overloading the boot process.