[systemd-devel] How to modify files from within systemd *.service? (for example using /bin/echo and stdout redirection)

shawn shawnlandden at gmail.com
Sat May 26 10:57:11 PDT 2012


On Sat, 2012-05-26 at 03:37 -0400, Peter Lemenkov wrote: 
> Hello!
> 
> 2012/5/26 shawn <shawnlandden at gmail.com>:
> 
> > I have the same keyboard. You are doing this the hard (and slow) way.
> >
> > just add
> >
> > options hid_apple fnmode=2
> >
> > to
> >
> > /etc/modprobe.d/hid_apple.conf
> 
> I am aware of this method. Unfortunately (and quite surprisingly it is
> never worked for me (for whatever reasons). I tried it again and it
> still doesn't work. Perhaps Fedora powerpc kernel config is different
> in some aspects.
> 

It is probably not working, because you havn't updated the file inside
your initrd, and the module is getting loaded before you have switched
to the root filesystem on boot. If you plugged it in after boot it would
probably work.


-- 
-Shawn Landden



More information about the systemd-devel mailing list