chiark / gitweb /
rc-local: order after network.target
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 2 Dec 2011 10:32:52 +0000 (11:32 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 2 Dec 2011 10:32:52 +0000 (11:32 +0100)
As suggested by Bill Nottingham: rc.local is often used for frobbing the
network.

https://bugzilla.redhat.com/show_bug.cgi?id=754789

units/fedora/rc-local.service
units/suse/rc-local.service

index 36100df..0bef5c7 100644 (file)
@@ -9,6 +9,7 @@
 # systemd-rc-local-generator if /etc/rc.d/rc.local is executable.
 [Unit]
 Description=/etc/rc.d/rc.local Compatibility
+After=network.target
 
 [Service]
 Type=forking
index 17f4322..2384a18 100644 (file)
@@ -9,6 +9,7 @@
 # systemd-rc-local-generator if /etc/init.d/boot.local is executable.
 [Unit]
 Description=/etc/init.d/boot.local Compatibility
+After=network.target
 
 [Service]
 Type=oneshot