On Jan 28, 2008 11:31 AM, Dan Nicholson <[EMAIL PROTECTED]> wrote:
> On Jan 27, 2008 9:42 PM, Vasiliy G Tolstov <[EMAIL PROTECTED]> 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.bz2/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.

> --
> Dan
>
> _______________________________________________
> Pm-utils mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/pm-utils
>
diff --git a/pm/sleep.d/60sysfont b/pm/sleep.d/60sysfont
deleted file mode 100755
index 9e21832..0000000
--- a/pm/sleep.d/60sysfont
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-. /usr/lib/pm-utils/functions
-
-case "$1" in
-	resume|thaw) 
-		setsysfont </dev/tty0 ;;
-esac
-
-exit $?
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to