Re: /etc/udev/rules.d non-symlinks
On Tue, Apr 10, 2007 at 12:11:57PM +0200, Loïc Minier <firstname.lastname@example.org> was heard to say:
> On Mon, Apr 09, 2007, Joey Hess wrote:
> > The intent is to let users disable a udev rule by removing the symlink, or
> > reorder a rule to a different number by renaming the symlink. Putting a rules
> > conffile directly in /etc/udev/rules.d/ wouldn't allow for this, and as Marco
> > says in #359614, this "may be useful. Or at least appeared to be useful when
> > I designed this." My question is simply whether anyone actually finds this
> > useful?
> Can we encode the number in the rule itself? Perhaps in the comments
> at the top of the file.
> This would allow dpkg to handle numbering changes correctly.
You could look at how file-rc handles a similar problem -- IIRC it
replace update-init.d with a script that edits a file in /etc.