Re: [OpenWrt-Devel] /etc and non-config files (like functions.sh)

2010-01-13 Thread Felix Fietkau
On 2010-01-13 9:16 PM, Milan P. Stanic wrote: > On Wed, 2010-01-13 at 15:06, Stefan Monnier wrote: >> >> What do the rest of you think, of making the /lib move for a) >> >> functions.sh and b) preinit? >> > Sounds like a good idea to me. Might as well move /etc/init.d and >> > rc.common while we're

Re: [OpenWrt-Devel] /etc and non-config files (like functions.sh)

2010-01-13 Thread Milan P. Stanic
On Wed, 2010-01-13 at 15:06, Stefan Monnier wrote: > >> What do the rest of you think, of making the /lib move for a) > >> functions.sh and b) preinit? > > Sounds like a good idea to me. Might as well move /etc/init.d and > > rc.common while we're at it - but not without compatibility symlinks, > >

Re: [OpenWrt-Devel] /etc and non-config files (like functions.sh)

2010-01-13 Thread Daniel Dickinson
On Wed, 2010-01-13 at 15:06 -0500, Stefan Monnier wrote: > >> What do the rest of you think, of making the /lib move for a) > >> functions.sh and b) preinit? > > Sounds like a good idea to me. Might as well move /etc/init.d and > > rc.common while we're at it - but not without compatibility symlink

Re: [OpenWrt-Devel] /etc and non-config files (like functions.sh)

2010-01-13 Thread Milan P. Stanic
On Wed, 2010-01-13 at 13:10, Daniel Dickinson wrote: > I was discussing the changes to preinit, mount_root, and and firstboot > that I am working on, with Jo (xMff), specifically to ask where he > thought I should put code that was common to the reworked mount_root and > firstboot. > > In that dis

Re: [OpenWrt-Devel] /etc and non-config files (like functions.sh)

2010-01-13 Thread Stefan Monnier
>> What do the rest of you think, of making the /lib move for a) >> functions.sh and b) preinit? > Sounds like a good idea to me. Might as well move /etc/init.d and > rc.common while we're at it - but not without compatibility symlinks, > both for users and for applications that rely on the old lay

Re: [OpenWrt-Devel] /etc and non-config files (like functions.sh)

2010-01-13 Thread Felix Fietkau
On 2010-01-13 7:10 PM, Daniel Dickinson wrote: > What do the rest of you think, of making the /lib move for a) > functions.sh and b) preinit? Sounds like a good idea to me. Might as well move /etc/init.d and rc.common while we're at it - but not without compatibility symlinks, both for users and f

Re: [OpenWrt-Devel] /etc and non-config files (like functions.sh)

2010-01-13 Thread Stefan Monnier
> What do the rest of you think, of making the /lib move for a) > functions.sh and b) preinit? 100% agreement. You'll probably want to keep compatibility symlinks in place, tho (and maybe /etc/functions.sh won't be a symlink but a file that loads all the files into which functions.sh has been spl

[OpenWrt-Devel] /etc and non-config files (like functions.sh)

2010-01-13 Thread Daniel Dickinson
Hi all, I was discussing the changes to preinit, mount_root, and and firstboot that I am working on, with Jo (xMff), specifically to ask where he thought I should put code that was common to the reworked mount_root and firstboot. In that discussion we came to the conclusion that non-config files