[OpenWrt-Devel] Modifying configuration at package install
Matthias.Strubel at aod-rpg.de
Wed Jan 7 15:48:30 EST 2015
yes, you can run scripts at specific points during (un)installation of a package.
You can find more information here: http://wiki.openwrt.org/doc/devel/packages
I think you want to use the "Package/postinst" part.
Some quickly found examples:
Hope that helps,
On 01/07/2015 09:28 PM, Eric Schultz wrote:
> I'm trying to create an example package. In it, I want the package to
> modify the IP address of the LAN to 10.0.2.15. If I had access to a
> running OpenWrt console, I'd use "uci set" to change the ip address.
> I'd like to perform this change manually though at package
> installation time.
> Is there a way to run uci during the Package/install action in the
> Makefile? Or is there a better way of making this change?
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel