package embox.cmd.net

@AutoCmd
@Cmd(name = "telnetd",
	help = "Start telnetd server",
	man = '''
		NAME
			telnetd - telnet server
		SYNOPSIS
			telnetd
		DESCRIPTION
			Start telnetd server in the system
		EXAMPLES
			telnetd
		AUTHORS
			Vladimir Sokolov
	''')
module telnetd {
	option number port = 23
	option number max_connections = 5
	option string shell = "tish"

	source "telnet.h"
	source "telnetd.c"
	source "telnet_util.c"

	depends embox.compat.posix.net.socket
	depends embox.compat.posix.ipc.ppty
	depends embox.compat.posix.index_descriptor
	depends embox.compat.posix.proc.signal
	depends embox.compat.posix.proc.exec
	depends embox.compat.posix.proc.waitpid
	depends embox.compat.posix.proc.vfork
}
