[Pm-utils] error in pm-utils under gentoo

Till Maas opensource at till.name
Mon Jan 28 11:05:07 PST 2008


On Monday 28 January 2008 19:53:59 Victor Lowther wrote:
> On Jan 28, 2008 11:31 AM, Dan Nicholson <dbn.lists at gmail.com> wrote:
> > On Jan 27, 2008 9:42 PM, Vasiliy G Tolstov <v.tolstov at selfip.ru> wrote:
> > > Gentoo does not have this utilities. Default gentoo init script that
> > > setting console font executes /bin/setfont
> >
> > That's because setsysfont is a Fedora specific wrapper script around
> > setfont in their initscripts package.
> >
> > http://cvs.fedoraproject.org/repo/pkgs/initscripts/initscripts-8.60.tar.b
> >z2/a0e888cc91ef6350a991985567d21366/initscripts-8.60.tar.bz2
>
> In that case...
>
> Patch attached to remove 60sysfont.  setsysfont is Fedora-specific,
> and other distros do not use it.

How about testing whether it exists first, then execute it when it does, 
otherwise  test whether setfont exists and execute it, otherwise do nothing. 
Or make it possible to define which executable should be run to restore the 
sysfont, e.g. via /usr/lib/pm-utils/defaults.

Regards,
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080128/8c9dfd4b/attachment.pgp 


More information about the Pm-utils mailing list