<p dir="ltr">Rc.local does run last even on systemd.</p>
<p dir="ltr">Write a script that does pre-networking stuff, call it prenet. Put its systwmd file in local systemd area, etc/systemd/(something - on my phone and can't recall) and copy network.service there as well. Change network.service to network2.service and make it dependent on prenet. Make a postnet and have depend on network2. That will force the ordering. Disable real network.service and enable all three new ones. Reboot.</p>
<div class="gmail_quote">On Sep 7, 2015 3:08 PM, "Chris Fowler" <<a href="mailto:cfowler@outpostsentinel.com">cfowler@outpostsentinel.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div>I guess too late now to come to that meeting.</div><div><br></div><div>I only have two questions.</div><div><br></div><div>1. Does /etc/rc.local truly run after everything else? </div><div><br></div><div>2. How can I run a script BEFORE Networking and run another one AFTER networking? I want to make sure the BEFORE is truly finished before networking is started. I want to make sure the later is done after interfaces are up.</div><div><br></div><div>The latter is because I had a need to write /etc/network/interfaces during boot up. I gave up, ignorance, and replaced /etc/network/interfaces and then restarted the device. </div><div><br></div><div><br></div><div><br></div><div><br></div><hr><div><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>From: </b>"Steve Litt" <<a href="mailto:slitt@troubleshooters.com" target="_blank">slitt@troubleshooters.com</a>><br><b>To: </b><a href="mailto:ale@ale.org" target="_blank">ale@ale.org</a><br><b>Sent: </b>Monday, September 7, 2015 1:40:54 PM<br><b>Subject: </b>Re: [ale] systemd talk from July has slide deck online now<br></blockquote></div><div><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt">On Mon, 07 Sep 2015 11:21:24 -0400<br>Jim Kinney <<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>> wrote:<br><br>> <a href="http://ale.org/?p=632" target="_blank">http://ale.org/?p=632</a><br>> <br>> The slides are now added to the bottom of the announcement page.<br><br>Hi Jim,<br><br>I think for your next presentation, you should either get rid of all<br>comparisons to sysvinit and Upstart, or include comparisons to runit,<br>OpenRC, Epoch, Suckless Init plus s6 plus LittKit, Suckless Init plus<br>daemontools-encore plus LittKit, and the soon to be published s6-rc.<br><br>If your presentation is simply "how to use systemd", you need no<br>comparisons. If your presentation includes "why systemd is better", it<br>would be misleading not to include the many excellent init systems<br>available.<br><br>SteveT<br><br>Steve Litt <br>August 2015 featured book: Troubleshooting: Just the Facts<br><a href="http://www.troubleshooters.com/tjust" target="_blank">http://www.troubleshooters.com/tjust</a><br>_______________________________________________<br>Ale mailing list<br><a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br><a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>See JOBS, ANNOUNCE and SCHOOLS lists at<br><a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br></blockquote></div></div></div><br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div>