#!/bin/sh
# /etc/uci-defaults/40_byedpi
#
# Idempotent first-boot setup for the byedpi package. Runs once on first boot
# (and via the default postinst on a live opkg/apk install); must exit 0 so it
# is cleared and not retried. Enabling the init is safe on a fresh box: the init
# and the shipped config are INERT (the 'default' instance has enabled='0'), so
# nothing listens until an instance is explicitly enabled.

[ -x /etc/init.d/byedpi ] && /etc/init.d/byedpi enable

exit 0
