From b7419cab46f75f8f22660b314e7c958a1c087eca Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 3 Sep 2013 18:12:14 +0400 Subject: [PATCH] gui/network_service.cpp: add xupnpd service Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/6527334a0e81834cb1d24fa6559e1ab4d8bbf188 Author: [CST] Focus Date: 2013-09-03 (Tue, 03 Sep 2013) --- src/gui/network_service.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/network_service.cpp b/src/gui/network_service.cpp index 9668f1e2e..2fa4c2c79 100644 --- a/src/gui/network_service.cpp +++ b/src/gui/network_service.cpp @@ -50,13 +50,14 @@ struct network_service int enabled; }; -#define SERVICE_COUNT 4 +#define SERVICE_COUNT 5 static struct network_service services[SERVICE_COUNT] = { { "FTP", "vsftpd", "", LOCALE_MENU_HINT_NET_FTPD, "", 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 }, - { "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)