summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2008-08-17 14:12:26 +0000
committerDenis Vlasenko2008-08-17 14:12:26 +0000
commitc8d02aa959d3543239701d7170e0255c49ad6d9e (patch)
treedff730a0992022105fa3b2795edc1af5055dbc80 /include
parenteb084779d7f3feba414d679006d4f1633451677f (diff)
downloadbusybox-c8d02aa959d3543239701d7170e0255c49ad6d9e.zip
busybox-c8d02aa959d3543239701d7170e0255c49ad6d9e.tar.gz
setfont: new applet by Vladimir
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h9
2 files changed, 11 insertions, 1 deletions
diff --git a/include/applets.h b/include/applets.h
index 5dd485a..ee96357 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -220,7 +220,7 @@ USE_SETARCH(APPLET_ODDNAME(linux64, setarch, _BB_DIR_BIN, _BB_SUID_NEVER, linux6
USE_FEATURE_INITRD(APPLET_ODDNAME(linuxrc, init, _BB_DIR_ROOT, _BB_SUID_NEVER, linuxrc))
USE_LN(APPLET_NOEXEC(ln, ln, _BB_DIR_BIN, _BB_SUID_NEVER, ln))
USE_LOAD_POLICY(APPLET(load_policy, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
-USE_LOADFONT(APPLET(loadfont, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
+USE_LOADFONT(APPLET(loadfont, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_LOADKMAP(APPLET(loadkmap, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_LOGGER(APPLET(logger, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_LOGIN(APPLET(login, _BB_DIR_BIN, _BB_SUID_ALWAYS))
@@ -319,6 +319,7 @@ USE_SETARCH(APPLET(setarch, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_SETCONSOLE(APPLET(setconsole, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_SETENFORCE(APPLET(setenforce, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_SETFILES(APPLET(setfiles, _BB_DIR_SBIN, _BB_SUID_NEVER))
+USE_SETFONT(APPLET(setfont, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_SETKEYCODES(APPLET(setkeycodes, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_SETLOGCONS(APPLET(setlogcons, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_SETSEBOOL(APPLET(setsebool, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
diff --git a/include/usage.h b/include/usage.h
index e242990..feeaadd 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3501,6 +3501,15 @@
"\n -vv Show changes in file labels, if type, role, or user are changing" \
"\n -W Display warnings about entries that had no matching files" \
+#define setfont_trivial_usage \
+ "[-m mapfile] font"
+#define setfont_full_usage "\n\n" \
+ "Load a console font\n" \
+ "\nOptions:" \
+ "\n -m mapfile Load console screen map from mapfile"
+#define setfont_example_usage \
+ "$ setfont -m koi8-r /etc/i18n/fontname\n"
+
#define setkeycodes_trivial_usage \
"SCANCODE KEYCODE..."
#define setkeycodes_full_usage "\n\n" \