ash: do not let EXIT trap to fire in `trap`
[oweals/busybox.git] / console-tools / loadfont.c
index c6a3a4cd8b1ec4b7d0308d178e26b7c66ab26ea4..336418061ae2988fb181660ca3ee92036df4e242 100644 (file)
@@ -6,6 +6,8 @@
  *
  * Loads the console font, and possibly the corresponding screen map(s).
  * (Adapted for busybox by Matej Vela.)
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
  */
 #include "libbb.h"
 #include <sys/kd.h>
@@ -80,7 +82,10 @@ static void do_loadfont(int fd, unsigned char *inbuf, int unit, int fontsize)
        }
 
 #if 0
-/* These ones do not honour -C tty (they set font on current tty regardless) */
+/* These ones do not honour -C tty (they set font on current tty regardless)
+ * On x86, this distinction is visible on framebuffer consoles
+ * (regular character consoles may have only one shared font anyway)
+ */
 #if defined(PIO_FONTX) && !defined(__sparc__)
        {
                struct consolefontdesc cfd;