File systemd-network-config.patch of Package NetworkManager

Index: NetworkManager-0.9.8.10/data/NetworkManager.service.in
===================================================================
--- NetworkManager-0.9.8.10.orig/data/NetworkManager.service.in
+++ NetworkManager-0.9.8.10/data/NetworkManager.service.in
@@ -1,6 +1,6 @@
 [Unit]
 Description=Network Manager
-Wants=network.target
+Wants=remote-fs.target network.target
 Before=network.target
 
 [Service]
@@ -16,6 +16,6 @@ KillMode=process
 
 [Install]
 WantedBy=multi-user.target
-Alias=dbus-org.freedesktop.NetworkManager.service
-Also=NetworkManager-dispatcher.service
+Alias=network.service
+Also=NetworkManager-dispatcher.service NetworkManager-wait-online.service
 
Index: NetworkManager-0.9.8.10/data/NetworkManager-wait-online.service.in
===================================================================
--- NetworkManager-0.9.8.10.orig/data/NetworkManager-wait-online.service.in
+++ NetworkManager-0.9.8.10/data/NetworkManager-wait-online.service.in
@@ -3,11 +3,13 @@ Description=Network Manager Wait Online
 Requisite=NetworkManager.service
 After=NetworkManager.service
 Wants=network.target
-Before=network.target network-online.target
+Before=network-online.target
 
 [Service]
 Type=oneshot
-ExecStart=@bindir@/nm-online -q --timeout=30
+Environment=NM_ONLINE_TIMEOUT=0
+EnvironmentFile=-/etc/sysconfig/network/config
+ExecStart=/bin/bash -c "if [ ${NM_ONLINE_TIMEOUT} -gt 0 ]; then @bindir@/nm-online -q --timeout=${NM_ONLINE_TIMEOUT} ; else /bin/true ; fi"
 
 [Install]
 WantedBy=multi-user.target