gui/network_service.cpp: add xupnpd service

Origin commit data
------------------
Commit: 6527334a0e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-09-03 (Tue, 03 Sep 2013)
This commit is contained in:
[CST] Focus
2013-09-03 18:12:14 +04:00
parent c14d9089e4
commit b7419cab46

View File

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