<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Hallo,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>die Frage ist, ob configurenetwork bei S20 schon alles hat, was es braucht.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Grüße<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Adrian<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext'> franken-dev [mailto:franken-dev-bounces@freifunk.net] <b>On Behalf Of </b>robert<br><b>Sent:</b> Montag, 10. September 2018 10:52<br><b>To:</b> franken-dev@freifunk.net<br><b>Subject:</b> Re: [PATCH v3 1/3] init.d: Set /tmp/started through init.d instead of rc.local<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p>Hallo,<o:p></o:p></p><p>ich wollte das mal wieder aufgreifen. Das ganze ist echt verzwickt. Für mich stellt es sich so dar:<o:p></o:p></p><p>configurehood darf nicht via cron vor/während configurenetwork und auch nicht doppelt laufen.<o:p></o:p></p><p>Der Nodewatcher _sollte_ nach configurehood und configurenetwork laufen.<o:p></o:p></p><p>/tmp/started ist unschön. Blöde Abhängigkeit.<o:p></o:p></p><p>Mein Vorschlag wäre: <o:p></o:p></p><p>configurenetwork als init.d boot() in der Nähe von S20network unterzubringen. Da würde es doch auch hin passen.<o:p></o:p></p><p>Nodewatcher ist von alfred abhängig. Also kann man prüfen ob alfred schon an ist.<o:p></o:p></p><p>Doppeltes Anlaufen von configurehood verhindern.<o:p></o:p></p><p>=> /tmp/started weg.<o:p></o:p></p><p>Kann das funktionieren? Wenn Ihr meint das geht, würde ich mir mal die Zeit nehmen und das hin basteln.<o:p></o:p></p><p>Robert<o:p></o:p></p><p><o:p> </o:p></p><p><o:p> </o:p></p><p><o:p> </o:p></p><p><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Am 20.01.2018 um 16:48 schrieb Tim Niemeyer:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Am Samstag, den 20.01.2018, 16:44 +0100 schrieb <a href="mailto:mail@adrianschmutzler.de">mail@adrianschmutzler.de</a>:<o:p></o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Hallo Tim,<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>dann sag mir bitte, in welcher Package du es gerne haben möchtest.<o:p></o:p></pre></blockquote><pre>[..]<o:p></o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>In einem eigenen Package geht das nicht kaputt und kann nach belieben<o:p></o:p></pre><pre>mittels Abhängig verwendet werden.<o:p></o:p></pre></blockquote></blockquote><pre><o:p> </o:p></pre><pre>Es gehört in ein eigenes Package.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Jeder, der von /tmp/started abhängt muss dann auch von dem Package<o:p></o:p></pre><pre>abhängen.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Wir haben aber vorhin festgestellt, dass fff-hoods das Zeug gar nicht<o:p></o:p></pre><pre>benötigt. Und insofern nur noch der Nodewatcher das benötigt. Das wird<o:p></o:p></pre><pre>deutlich komplexer zu beurteilen, ob der das überhaupt braucht, aber<o:p></o:p></pre><pre>das sollte man sich mMn vorher angucken.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Tim<o:p></o:p></pre><pre><o:p> </o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Tim<o:p></o:p></pre><pre><o:p> </o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Grüße<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Adrian<o:p></o:p></pre><pre><o:p> </o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>-----Original Message-----<o:p></o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>From: Tim Niemeyer [<a href="mailto:tim@tn-x.org">mailto:tim@tn-x.org</a>]<o:p></o:p></pre></blockquote></blockquote><pre><o:p> </o:p></pre><pre>Sent: Samstag, 20. Januar 2018 15:39<o:p></o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>To: Adrian Schmutzler <a href="mailto:freifunk@adrianschmutzler.de"><freifunk@adrianschmutzler.de></a>; franken-<o:p></o:p></pre></blockquote></blockquote><pre><o:p> </o:p></pre><pre><a href="mailto:dev@freifunk.net">dev@freifunk.net</a><o:p></o:p></pre><pre>Subject: Re: [PATCH v3 1/3] init.d: Set /tmp/started through init.d<o:p></o:p></pre><pre>instead of rc.local<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Hi<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Am Freitag, den 05.01.2018, 00:52 +0100 schrieb Adrian Schmutzler:<o:p></o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>This ensures that /tmp/started is actually set after the end of<o:p></o:p></pre><pre>the boot process.<o:p></o:p></pre><pre><o:p> </o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Signed-off-by: Christian Dresel <a href="mailto:fff@chrisi01.de"><fff@chrisi01.de></a><o:p></o:p></pre></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><pre>Signed-off-by: Adrian Schmutzler<o:p></o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre><a href="mailto:freifunk@adrianschmutzler.de"><freifunk@adrianschmutzler.de></a><o:p></o:p></pre></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><pre>Tested-by: Adrian Schmutzler <a href="mailto:freifunk@adrianschmutzler.de"><freifunk@adrianschmutzler.de></a><o:p></o:p></pre></blockquote></blockquote></blockquote><pre><o:p> </o:p></pre><pre>---<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Changes in v2/v3:<o:p></o:p></pre><pre>none<o:p></o:p></pre><pre>---<o:p></o:p></pre><pre> bsp/default/root_file_system/etc/init.d/zdone | 11 +++++++++++<o:p></o:p></pre></blockquote><pre><o:p> </o:p></pre><pre>Sry, wir hatten immer gesagt, dass wir diesen Part von Zeit zu Zeit<o:p></o:p></pre><pre>komplett auflösen wollen.<o:p></o:p></pre><pre><o:p> </o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre> bsp/default/root_file_system/etc/rc.local     |  2 --<o:p></o:p></pre><pre> 2 files changed, 11 insertions(+), 2 deletions(-)<o:p></o:p></pre><pre> create mode 100755 bsp/default/root_file_system/etc/init.d/zdone<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>diff --git a/bsp/default/root_file_system/etc/init.d/zdone<o:p></o:p></pre><pre>b/bsp/default/root_file_system/etc/init.d/zdone<o:p></o:p></pre><pre>new file mode 100755<o:p></o:p></pre><pre>index 0000000..f4aaf02<o:p></o:p></pre><pre>--- /dev/null<o:p></o:p></pre><pre>+++ b/bsp/default/root_file_system/etc/init.d/zdone<o:p></o:p></pre><pre>@@ -0,0 +1,11 @@<o:p></o:p></pre><pre>+#!/bin/sh /etc/rc.common<o:p></o:p></pre><pre>+<o:p></o:p></pre><pre>+# Copyright 2017 Adrian Schmutzler # License GPLv3<o:p></o:p></pre><pre>+<o:p></o:p></pre><pre>+START=99<o:p></o:p></pre><pre>+<o:p></o:p></pre><pre>+start()<o:p></o:p></pre><pre>+{<o:p></o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>+      touch /tmp/started<o:p></o:p></pre></blockquote></blockquote></blockquote><pre><o:p> </o:p></pre><pre>+}<o:p></o:p></pre></blockquote><pre><o:p> </o:p></pre><pre>Gefällt mir auch sehr gut.<o:p></o:p></pre><pre><o:p> </o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>diff --git a/bsp/default/root_file_system/etc/rc.local<o:p></o:p></pre><pre>b/bsp/default/root_file_system/etc/rc.local<o:p></o:p></pre><pre>index 59042c3..7410bae 100755<o:p></o:p></pre><pre>--- a/bsp/default/root_file_system/etc/rc.local<o:p></o:p></pre><pre>+++ b/bsp/default/root_file_system/etc/rc.local<o:p></o:p></pre><pre>@@ -8,6 +8,4 @@ sleep 3<o:p></o:p></pre><pre><o:p> </o:p></pre><pre> /usr/sbin/configurehood<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>-touch /tmp/started<o:p></o:p></pre></blockquote><pre><o:p> </o:p></pre><pre>Es ist gut hier wieder etwas loszuwerden.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Trotzdem, nein. Die zdone Datei gehört in ein Package! Und auch<o:p></o:p></pre><pre>nicht erst in einem späteren Patch, sondern direkt.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>In welches Package müsste man noch überlegen. Aktuell wird es ja von<o:p></o:p></pre><pre>fff- hoods und von fff-nodewatcher verwendet. In Patch 3/3 siehst du<o:p></o:p></pre><pre>vor das in fff-config zu werfen. Irgendwie wiederstrebt es mir.<o:p></o:p></pre><pre>Eigentlich ist das /tmp/started ja komplett unabhängig von der zentralen<o:p></o:p></pre></blockquote></blockquote><pre><o:p> </o:p></pre><pre>config Datei.<o:p></o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre><o:p> </o:p></pre><pre>Ich glaube, wenn wir das /tmp/started nicht am besten eh ganz los<o:p></o:p></pre><pre>werden können, dann sollte es in ein eigenes Package gepackt werden.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Tim<o:p></o:p></pre><pre><o:p> </o:p></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>-<o:p></o:p></pre><pre> exit 0<o:p></o:p></pre><pre>--<o:p></o:p></pre><pre>2.7.4<o:p></o:p></pre><pre><o:p> </o:p></pre></blockquote></blockquote><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre></blockquote></blockquote><pre><o:p> </o:p></pre><p class=MsoNormal><br><br><o:p></o:p></p></blockquote></blockquote><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>