diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-24 23:32:36 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-24 23:32:36 +0000 |
commit | f99afb5dff00534df6cf8f4d9de5d274c7818eac (patch) | |
tree | 72eb7ab8b462f2adf8adc8d7ffeef3cf9c1135cc /include | |
parent | a2f47358eb5479d65510b0eb506d52435ca26c21 (diff) | |
download | busybox-f99afb5dff00534df6cf8f4d9de5d274c7818eac.tar.gz |
lpd: new applet by Vladimir Dronnikov <dronnikov AT gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 1 | ||||
-rw-r--r-- | include/usage.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index ffd7afc67..cdb19958c 100644 --- a/include/applets.h +++ b/include/applets.h @@ -227,6 +227,7 @@ USE_LOGIN(APPLET(login, _BB_DIR_BIN, _BB_SUID_ALWAYS)) USE_LOGNAME(APPLET_NOFORK(logname, logname, _BB_DIR_USR_BIN, _BB_SUID_NEVER, logname)) USE_LOGREAD(APPLET(logread, _BB_DIR_SBIN, _BB_SUID_NEVER)) USE_LOSETUP(APPLET(losetup, _BB_DIR_SBIN, _BB_SUID_NEVER)) +USE_LPD(APPLET(lpd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) USE_LPQ(APPLET_ODDNAME(lpq, lpqr, _BB_DIR_USR_BIN, _BB_SUID_NEVER, lpq)) USE_LPR(APPLET_ODDNAME(lpr, lpqr, _BB_DIR_USR_BIN, _BB_SUID_NEVER, lpr)) USE_LS(APPLET_NOEXEC(ls, ls, _BB_DIR_BIN, _BB_SUID_NEVER, ls)) diff --git a/include/usage.h b/include/usage.h index c9329b30b..7c9a90e77 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2051,6 +2051,12 @@ USE_FEATURE_BRCTL_FANCY("\n" \ "with an optional offset (-o 12345). Encryption is not yet supported.\n" \ "losetup -f will show the first loop free loop device\n\n" +#define lpd_trivial_usage \ + "SPOOLDIR" +#define lpd_full_usage \ + "Example:" \ + "\n tcpsvd -E localhost 515 lpd /var/spool" + #define lpq_trivial_usage \ "[-P queue[@host[:port]]] [-U USERNAME] [-d JOBID...] [-fs]" #define lpq_full_usage \ |