<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 Robert,<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'>der Plan war eigtl, nicht in bestehende init.d Files einzugreifen. Da hängen einfach zu viele Sachen dran und es kann sich viel ändern.<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> Samstag, 23. Dezember 2017 11:40<br><b>To:</b> franken-dev@freifunk.net<br><b>Subject:</b> Re: [PATCH 1/2] 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>Hi,<o:p></o:p></p><p>zdone? Ich hab erst gedacht was soll das, bis ich grad mal in das init.d rein geguckt hab. Das ist echt mies, alles auf 99 vorgeben. Wie waere denn ein kleines Package (fff-reorder-init.d) wo wir das nach unseren Bedürfnissen umsortieren? <o:p></o:p></p><p>Robert<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Am 23.12.2017 um 11:28 schrieb Christian Dresel:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Hi<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>ich finde das irgendwie als package schicker. Wir haben mehr und mehr<o:p></o:p></pre><pre>dort als package angelegt und aus diesem Verzeichnis entfernt, also<o:p></o:p></pre><pre>warum jetzt den Weg wieder zurück?<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Ansonsten finde ich die Idee super :)<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>mfg<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Christian<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>On 23.12.2017 01:38, Adrian Schmutzler wrote:<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<o:p></o:p></pre><pre>of the boot process.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Signed-off-by: Christian Dresel <a href="mailto:fff@chrisi01.de"><fff@chrisi01.de></a><o:p></o:p></pre><pre>Signed-off-by: Adrian Schmutzler <a href="mailto:freifunk@adrianschmutzler.de"><freifunk@adrianschmutzler.de></a><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><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 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<o:p></o:p></pre><pre>+# 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><pre>+ touch /tmp/started<o:p></o:p></pre><pre>+}<o:p></o:p></pre><pre>diff --git a/bsp/default/root_file_system/etc/rc.local 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><pre>-<o:p></o:p></pre><pre> exit 0<o:p></o:p></pre><pre><o:p> </o:p></pre></blockquote><pre><o:p> </o:p></pre><p class=MsoNormal><br><br><o:p></o:p></p></blockquote><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>