#!/bin/sh
#
# linkd runit service.
#
# Readiness contract: linkd publishes /run/linkd.ready after its initial
# resync (see --ready-file). frr's run script blocks on `sv check linkd`
# so zebra never starts before the swpN netdevs exist. The daemon itself
# defaults to no ready-file; the supervised package opts in here.
exec linkd --ready-file /run/linkd.ready
