The other way to do it would be with a tmpfiles.d snippet, the 'w' type was made for this exact purpose (writing values to /sys ala sysctl) see http://www.freedesktop.org/software/systemd/man/tmpfiles.d.html and http://cgit.freedesktop.org/systemd/systemd/commit/?id=31ed59c51126fce7d958c188772a397e2a1ed010
On Sat, May 26, 2012 at 7:57 PM, shawn <shawnland...@gmail.com> wrote: > On Sat, 2012-05-26 at 03:37 -0400, Peter Lemenkov wrote: >> Hello! >> >> 2012/5/26 shawn <shawnland...@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 > > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel