mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv
This commit is contained in:
commit
11013c2bee
@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="service.openelec.settings"
|
PKG_NAME="service.openelec.settings"
|
||||||
PKG_VERSION="0.2.10"
|
PKG_VERSION="0.2.11"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="prop."
|
PKG_LICENSE="prop."
|
||||||
|
@ -0,0 +1,49 @@
|
|||||||
|
From 0b595ee514797c75663a9ddc4ddc81c6c82dc64a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Stefan Saraev <stefan@saraev.ca>
|
||||||
|
Date: Sat, 7 Sep 2013 15:11:36 +0300
|
||||||
|
Subject: [PATCH] do not add default gw as timeserver
|
||||||
|
|
||||||
|
*always* adding default gw to timeserver list is a horrible idea
|
||||||
|
|
||||||
|
this reverts http://git.kernel.org/cgit/network/connman/connman.git/commit/?id=bbd19813c457227a2861c05e9ebc676f8feb7f10
|
||||||
|
---
|
||||||
|
src/timeserver.c | 13 -------------
|
||||||
|
1 files changed, 0 insertions(+), 13 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/timeserver.c b/src/timeserver.c
|
||||||
|
index 6440611..6386521 100644
|
||||||
|
--- a/src/timeserver.c
|
||||||
|
+++ b/src/timeserver.c
|
||||||
|
@@ -179,11 +179,9 @@ GSList *__connman_timeserver_add_list(GSList *server_list,
|
||||||
|
GSList *__connman_timeserver_get_all(struct connman_service *service)
|
||||||
|
{
|
||||||
|
GSList *list = NULL;
|
||||||
|
- struct connman_network *network;
|
||||||
|
char **timeservers;
|
||||||
|
char **service_ts;
|
||||||
|
char **service_ts_config;
|
||||||
|
- const char *service_gw;
|
||||||
|
char **fallback_ts;
|
||||||
|
int index, i;
|
||||||
|
|
||||||
|
@@ -204,17 +202,6 @@ GSList *__connman_timeserver_get_all(struct connman_service *service)
|
||||||
|
for (i = 0; service_ts && service_ts[i]; i++)
|
||||||
|
list = __connman_timeserver_add_list(list, service_ts[i]);
|
||||||
|
|
||||||
|
- network = __connman_service_get_network(service);
|
||||||
|
- if (network) {
|
||||||
|
- index = connman_network_get_index(network);
|
||||||
|
- service_gw = __connman_ipconfig_get_gateway_from_index(index,
|
||||||
|
- CONNMAN_IPCONFIG_TYPE_ALL);
|
||||||
|
-
|
||||||
|
- /* Then add Service Gateway to the list */
|
||||||
|
- if (service_gw)
|
||||||
|
- list = __connman_timeserver_add_list(list, service_gw);
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
/* Then add Global Timeservers to the list */
|
||||||
|
timeservers = load_timeservers();
|
||||||
|
|
||||||
|
--
|
||||||
|
1.7.2.5
|
||||||
|
|
@ -113,6 +113,21 @@ echo "#########################################################"
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# this is needed to format the drive
|
||||||
|
which mkfs.vfat > /dev/null
|
||||||
|
if [ "$?" = "1" ]; then
|
||||||
|
clear
|
||||||
|
echo "#########################################################"
|
||||||
|
echo "# #"
|
||||||
|
echo "# OpenELEC.tv missing tool - Installation will quit #"
|
||||||
|
echo "# #"
|
||||||
|
echo "# We can't find the required tool \"mkfs.vfat\" #"
|
||||||
|
echo "# on your system. #"
|
||||||
|
echo "# Please install it via your package manager. #"
|
||||||
|
echo "# #"
|
||||||
|
echo "#########################################################"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# check MD5 sums
|
# check MD5 sums
|
||||||
echo "checking MD5 sum..."
|
echo "checking MD5 sum..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user