summaryrefslogtreecommitdiff
path: root/printutils/lpd.c
diff options
context:
space:
mode:
authorDenys Vlasenko2015-10-19 00:45:46 +0200
committerDenys Vlasenko2015-10-19 00:45:46 +0200
commit854bb6879da7277446c7a943387e2880017804e0 (patch)
treec74e243cf123f0be6d692eadf12944137f686a15 /printutils/lpd.c
parent0863e1a576c4b26bb87564b3a403f1094814f1aa (diff)
downloadbusybox-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/lpd.c')
-rw-r--r--printutils/lpd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/printutils/lpd.c b/printutils/lpd.c
index c98bbb3..8823934 100644
--- a/printutils/lpd.c
+++ b/printutils/lpd.c
@@ -69,6 +69,15 @@
* cat ./"$DATAFILE" >/dev/lp0
* mv -f ./"$DATAFILE" save/
*/
+//config:config LPD
+//config: bool "lpd"
+//config: default y
+//config: help
+//config: lpd is a print spooling daemon.
+
+//applet:IF_LPD(APPLET(lpd, BB_DIR_USR_SBIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_LPD) += lpd.o
//usage:#define lpd_trivial_usage
//usage: "SPOOLDIR [HELPER [ARGS]]"