diff options
author | Denys Vlasenko | 2015-10-19 00:45:46 +0200 |
---|---|---|
committer | Denys Vlasenko | 2015-10-19 00:45:46 +0200 |
commit | 854bb6879da7277446c7a943387e2880017804e0 (patch) | |
tree | c74e243cf123f0be6d692eadf12944137f686a15 /printutils/lpr.c | |
parent | 0863e1a576c4b26bb87564b3a403f1094814f1aa (diff) | |
download | busybox-854bb6879da7277446c7a943387e2880017804e0.zip busybox-854bb6879da7277446c7a943387e2880017804e0.tar.gz |
printutils/*: convert to new-style "one file" applets
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'printutils/lpr.c')
-rw-r--r-- | printutils/lpr.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/printutils/lpr.c b/printutils/lpr.c index 70cda77..ed6a84a 100644 --- a/printutils/lpr.c +++ b/printutils/lpr.c @@ -11,6 +11,23 @@ * * See RFC 1179 for protocol description. */ +//config:config LPR +//config: bool "lpr" +//config: default y +//config: help +//config: lpr sends files (or standard input) to a print spooling daemon. +//config: +//config:config LPQ +//config: bool "lpq" +//config: default y +//config: help +//config: lpq is a print spool queue examination and manipulation program. + +//applet:IF_LPQ(APPLET_ODDNAME(lpq, lpqr, BB_DIR_USR_BIN, BB_SUID_DROP, lpq)) +//applet:IF_LPR(APPLET_ODDNAME(lpr, lpqr, BB_DIR_USR_BIN, BB_SUID_DROP, lpr)) + +//kbuild:lib-$(CONFIG_LPR) += lpr.o +//kbuild:lib-$(CONFIG_LPQ) += lpr.o //usage:#define lpr_trivial_usage //usage: "-P queue[@host[:port]] -U USERNAME -J TITLE -Vmh [FILE]..." |