Re: [OpenWrt-Devel] Clean way of adding custom scripts and firstrun

2011-01-28 Thread Hanno Schupp
Behalf Of Ithamar R. Adema Sent: Saturday, 29 January 2011 1:47 a.m. To: OpenWrt Development List Subject: Re: [OpenWrt-Devel] Clean way of adding custom scripts and firstrun On Fri, 2011-01-28 at 11:28 +1300, Hanno Schupp wrote: > I am asking as some configuration like network and wireless may

Re: [OpenWrt-Devel] Clean way of adding custom scripts and firstrun

2011-01-28 Thread Ithamar R. Adema
On Fri, 2011-01-28 at 11:28 +1300, Hanno Schupp wrote: > I am asking as some configuration like network and wireless may be set > by the system on boot, so if one would like to add to > the /etc/config/wireless configuration (i.e. by setting the power to > max possible or, setting diversity etc.) t

Re: [OpenWrt-Devel] Clean way of adding custom scripts and firstrun

2011-01-27 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > 1) do these scripts require the same /etc/rc.common format as the files > in /etc/init.d folder or are they just straight shell scripts? Plain shell scripts, no dependencies. > 2) when are they called exactly? before or after the init.d script

Re: [OpenWrt-Devel] Clean way of adding custom scripts and firstrun

2011-01-27 Thread Hanno Schupp
Re the /etc/uci-defaults/ scripts: That is a very interesting feature. Two follow up[ questions: 1) do these scripts require the same /etc/rc.common format as the files in /etc/init.d folder or are they just straight shell scripts? 2) when are they called exactly? before or after the init.d script

Re: [OpenWrt-Devel] Clean way of adding custom scripts and firstrun

2011-01-27 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > What's the clean way of: > 1) adding custom configuration (running custom scripts) on first boot. /etc/uci-defaults/foo.sh, a script which can contain arbritary commands, its deleted by the system after it was invoked once. > 2) adding custom

[OpenWrt-Devel] Clean way of adding custom scripts and firstrun

2011-01-27 Thread Janno Sannik
I have some noob questions. What's the clean way of: 1) adding custom configuration (running custom scripts) on first boot. 2) adding custom files to the openwrt tree on compile. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https:/