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
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
-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 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
-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
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:/