diff options
author | Denis Vlasenko | 2009-03-08 09:30:56 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-03-08 09:30:56 +0000 |
commit | 16b4a2de97d98d9683909b7b083035e65b3f87de (patch) | |
tree | 7f05fe86b045e8fb5186c09b8b2aea445f8c8c70 /include | |
parent | c8985bf3530d04946c5f4859eefdebb229c088c7 (diff) | |
download | busybox-16b4a2de97d98d9683909b7b083035e65b3f87de.zip busybox-16b4a2de97d98d9683909b7b083035e65b3f87de.tar.gz |
ftpd: new applet by Adam Tkac
$ size ftpd.o
text data bss dec hex filename
5703 0 0 5703 1647 ftpd.o
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 1 | ||||
-rw-r--r-- | include/usage.h | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 15dcbdf..becb140 100644 --- a/include/applets.h +++ b/include/applets.h @@ -164,6 +164,7 @@ USE_FSCK(APPLET(fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) //USE_E2FSCK(APPLET_ODDNAME(fsck.ext2, e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER, fsck_ext2)) //USE_E2FSCK(APPLET_ODDNAME(fsck.ext3, e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER, fsck_ext3)) USE_FSCK_MINIX(APPLET_ODDNAME(fsck.minix, fsck_minix, _BB_DIR_SBIN, _BB_SUID_NEVER, fsck_minix)) +USE_FTPD(APPLET(ftpd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) USE_FTPGET(APPLET_ODDNAME(ftpget, ftpgetput, _BB_DIR_USR_BIN, _BB_SUID_NEVER, ftpget)) USE_FTPPUT(APPLET_ODDNAME(ftpput, ftpgetput, _BB_DIR_USR_BIN, _BB_SUID_NEVER, ftpput)) USE_FUSER(APPLET(fuser, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) diff --git a/include/usage.h b/include/usage.h index de6f037..fb43fa3 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1280,6 +1280,20 @@ "\n -m Show \"mode not cleared\" warnings" \ "\n -f Force file system check" \ +#define ftpd_trivial_usage \ + "[-w] [DIR]" +#define ftpd_full_usage "\n\n" \ + "FTP server\n" \ + "\n" \ + "ftpd should be used as an inetd service.\n" \ + "ftpd's line for inetd.conf:\n" \ + " 21 stream tcp nowait root ftpd ftpd /files/to/serve\n" \ + "It also can be ran from tcpsvd:\n" \ + " tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve\n" \ + "\nOptions:" \ + "\n -w Allow upload" \ + "\n DIR Change root to ths directory" \ + #define ftpget_trivial_usage \ "[options] remote-host local-file remote-file" #define ftpget_full_usage "\n\n" \ |