Hi Eric,

make your package ship an /etc/uci-defaults/99_custom_settings that
executes the appropriate uci set commands.

That script is automatically sourced on the first OpenWrt boot and
deleted afterwards. Make sure it exits with code 0.

You can not rely on postinstall hooks as the network configuration may
not be available at build time, on ar71xx for example it is generated on
the first boot (from /etc/uci-defaults/02_network).

~ Jow
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to