gui/network_service.cpp: add dropbear

Origin commit data
------------------
Commit: fc3e9ebd62
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-06-19 (Thu, 19 Jun 2014)
This commit is contained in:
[CST] Focus
2014-06-19 10:15:31 +04:00
parent bdecef2e88
commit 7953d84860
4 changed files with 6 additions and 2 deletions

View File

@@ -50,15 +50,16 @@ struct network_service
int enabled;
};
#define SERVICE_COUNT 5
static struct network_service services[SERVICE_COUNT] =
static struct network_service services[] =
{
{ "FTP", "vsftpd", "", LOCALE_MENU_HINT_NET_FTPD, "", 0 },
{ "Telnet", "telnetd", "-l/bin/login", LOCALE_MENU_HINT_NET_TELNET, "", 0 },
{ "DjMount", "djmount", "-o iocharset=UTF-8 /media/00upnp/", LOCALE_MENU_HINT_NET_DJMOUNT, "", 0 },
{ "uShare", "ushare", "-D -n `cat /etc/hostname`", LOCALE_MENU_HINT_NET_USHARE, "", 0 },
{ "xupnpd", "xupnpd", "", LOCALE_MENU_HINT_NET_XUPNPD, "", 0 },
{ "Dropbear", "dropbear", "-B", LOCALE_MENU_HINT_NET_DROPBEAR, "", 0 },
};
#define SERVICE_COUNT (sizeof(services)/sizeof(struct network_service))
CNetworkService::CNetworkService(std::string cmd, std::string opts)
{