Re: [CVS Update of freesbie2 - M:0 A:2 R:0]

"Dominique Goncalves" <[email protected]> Tue, 26 Sep 2006 11:54:05 +0200
Newsgroups gmane.os.freebsd.freesbie
Message-ID <[email protected]>
Hi,

On 10 Jul 2006 22:02:00 +0200, [email protected] <[email protected]> wrote:
> Log Message:
> -----------
> Add the l10n plugin: it allows to specify a locale which will be used to set:
> a)keymap
> b)console map
> c)locale(1) variables
> d)Xorg.conf keymap
>
> The hearth of this script is taken from work done by the Frenzy team.
>
> To set a locale, you must escape to loader prompt at boot-time, then, at the
> OK prompt write:
> set freesbie.lang=it (or fr, de, es, ru, $OTHERS)
> press Return
> At the next OK prompt, write:
> boot
> press Return
>
> Added Files:
> -----------
>     freesbie2/extra:
>         l10n.sh
>     freesbie2/extra/l10n:
>         l10n.rc
> --
> FreeSBIE mailing list (http://www.freesbie.org)
>

There is a typo in l10n/l10n.rc about changing the keymap for Xorg

cvs diff: Diffing .
Index: l10n.rc
===================================================================
RCS file: /cvs/freesbie2/extra/l10n/l10n.rc,v
retrieving revision 1.3
diff -u -r1.3 l10n.rc
--- l10n.rc     19 Aug 2006 14:24:37 -0000      1.3
+++ l10n.rc     26 Sep 2006 09:58:13 -0000
@@ -205,7 +205,7 @@
 /etc/rc.d/syscons restart

 # update Xorg keyboard info
-if [ -e /etc/X11/Xorg.conf ]; then
+if [ -e /etc/X11/xorg.conf ]; then
     sed -i "" "s/\"us\"/\"${X_XORG_KEYMAP}\"/" /etc/X11/xorg.conf
 fi

Regards.

-- 
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."
-- 
FreeSBIE mailing list (http://www.freesbie.org)