Mailinglist Archive: opensuse (1658 mails)

< Previous Next >
Re: [opensuse] Re: [opensuse-factory] equivalent to boot.local for systemd
On 07/12/11 01:07, James Knott wrote:
Cristian Rodríguez wrote:
Yep. All that to replace one whole line in after.local. Why not still
have that after.local function included in systemctl? It is a very
useful function.

After.local already starts after the network ..

http://cgit.freedesktop.org/systemd/commit/?id=91b684c7300879a8d2006038f7d9185d92c3c3bf


that will show up either in a future update or in the next opensuse
version, I guess that solves your particular usecase of a 6to4 tunnel.

So, how does one get that into the current version?


for this particular case, you dont have to :)


Create a file named rc-local.service in /etc/systemd/system that says:


.include /lib/systemd/system/rc-local.service
[Unit]
After=network.target


and issue systemctl --system daemon-reload

that's all for now, in later versions you can remove the custom unit or just leave it as is.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups