mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user