[OpenWrt-Devel] Need guidance to modify default vanilla OpenWRT settings

John Crispin blogic at openwrt.org
Fri Dec 5 03:44:23 EST 2014


add a file in /etc/uci-defaults/ these get called on firstboot and are
deleted after being run

to add the file you need to make a package or you simply place the
script in the files/ folder of your checkout

	John


On 05/12/2014 08:16, Nguyen Nam wrote:
> Hi list,
> 
> I posted request  on forum but not get any reply, so have to send
> to the dev-list. My need is modify OpenWRT with some sensible
> settings for us (few SSID, enable ssh login,etc ), but I cannot
> found the right way yet.
> 
> Checked with the firstlogin on OpenWRT site, but still not figured
> out where to hook to replace configs. The preinit 90_restore_config
> hook look quite interesting, should I use that hook to replace the
> configs?
> 
> With best regards, Nguyen
> 
> 
> 
> _______________________________________________ openwrt-devel
> mailing list openwrt-devel at lists.openwrt.org 
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list