[PATCH 1/1] Nodewatcher: interpret 'description' and 'position_comment' purely as textual data
Tim Niemeyer
tim at tn-x.org
So Okt 30 13:07:43 CET 2016
Am Donnerstag, den 27.10.2016, 00:10 +0200 schrieb Tobias Klaus:
> Hallo,
>
> Auch diesen Change sehe ich eher als Bugfix und würde ihn in der neuen Beta
> inkludieren. Wie gestern warte ich mal bis morgen ob das jemand anders sieht.
Jo, ich hab ihn applied.
Tim
>
> Viele Grüße
> Tobias
>
>
> Am Sonntag, 18. September 2016, 15:54:00 CEST schrieb Steffen Pankratz:
> > Signed-off-by: Steffen Pankratz <kratz00 at gmx.de>
> > ---
> > src/packages/fff/fff-nodewatcher/Makefile | 2 +-
> > src/packages/fff/fff-nodewatcher/files/usr/sbin/nodewatcher | 6 +++---
> > 2 files changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/src/packages/fff/fff-nodewatcher/Makefile
> > b/src/packages/fff/fff-nodewatcher/Makefile index 0238791..56b0508 100644
> > --- a/src/packages/fff/fff-nodewatcher/Makefile
> > +++ b/src/packages/fff/fff-nodewatcher/Makefile
> > @@ -1,7 +1,7 @@
> > include $(TOPDIR)/rules.mk
> >
> > PKG_NAME:=fff-nodewatcher
> > -PKG_VERSION:=39
> > +PKG_VERSION:=40
> > PKG_RELEASE:=1
> >
> > PKG_BUILD_DIR:=$(BUILD_DIR)/fff-nodewatcher
> > diff --git a/src/packages/fff/fff-nodewatcher/files/usr/sbin/nodewatcher
> > b/src/packages/fff/fff-nodewatcher/files/usr/sbin/nodewatcher index
> > aeb457b..daff06f 100755
> > --- a/src/packages/fff/fff-nodewatcher/files/usr/sbin/nodewatcher
> > +++ b/src/packages/fff/fff-nodewatcher/files/usr/sbin/nodewatcher
> > @@ -2,7 +2,7 @@
> > # Netmon Nodewatcher (C) 2010-2012 Freifunk Oldenburg
> > # License; GPL v3
> >
> > -SCRIPT_VERSION="39"
> > +SCRIPT_VERSION="40"
> >
> > test -f /tmp/started || exit
> >
> > @@ -58,7 +58,7 @@ crawl() {
> > hostname="$(cat /proc/sys/kernel/hostname)"
> > description="$(uci get system. at system[0].description)"
> > if [ -n "$description" ]; then
> > - description="<description>$description</description>"
> > + description="<description><![CDATA[$description]]></description>"
> > fi
> > latitude="$(uci get system. at system[0].latitude)"
> > longitude="$(uci get system. at system[0].longitude)"
> > @@ -67,7 +67,7 @@ crawl() {
> > fi
> > position_comment="$(uci get system. at system[0].position_comment)"
> > if [ -n "$position_comment" ]; then
> > -
> > position_comment="<position_comment>$position_comment</position_comment>" +
> >
> > position_comment="<position_comment><![CDATA[$position_comment]]></position
> > _comment>" fi
> > contact="$(uci get system. at system[0].contact)"
> > if [ -n "$contact" ]; then
>
> --
> franken-dev mailing list
> franken-dev at freifunk.net
> http://lists.freifunk.net/mailman/listinfo/franken-dev-freifunk.net
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigröße : 473 bytes
Beschreibung: This is a digitally signed message part
URL : <http://lists.freifunk.net/pipermail/franken-dev-freifunk.net/attachments/20161030/de19b537/attachment.sig>
Mehr Informationen über die Mailingliste franken-dev