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 36100dfe5419764ce66712dc6e86f4ba5ac408e9..0bef5c72ab90f5b796dd957af89ed251f9eecc48 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 17f4322755ed518fbae2e2a8c4de6113b91a26a9..2384a18f94773627aef0d0d95f54a42c1fa20b66 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