aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/networking.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/services/networking.scm')
-rw-r--r--gnu/services/networking.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 6a7d194659..ce924a55bf 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -50,9 +50,15 @@ gateway."
(with-monad %store-monad
(return
(service
+
+ ;; Unless we're providing the loopback interface, wait for udev to be up
+ ;; and running so that INTERFACE is actually usable.
+ (requirement (if (memq 'loopback provision)
+ '()
+ '(udev)))
+
(documentation
- (string-append "Set up networking on the '" interface
- "' interface using a static IP address."))
+ "Bring up the networking interface using a static IP address.")
(provision provision)
(start #~(lambda _
;; Return #t if successfully started.