aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-03-16 11:25:57 +0100
committerLudovic Courtès <ludo@gnu.org>2020-03-16 14:05:52 +0100
commit0f13dd2b7f7675310e4a9bbfd37ee946b9f0dea3 (patch)
treefa366455bab0f0d1bbfe08382731fb4baa0b116d
parentef0f5ff2a74e5e4dc49dfdd0ba6509a91281ddd5 (diff)
downloadguix-0f13dd2b7f7675310e4a9bbfd37ee946b9f0dea3.tar
guix-0f13dd2b7f7675310e4a9bbfd37ee946b9f0dea3.tar.gz
services: dhcpd: Use 'invoke/quiet' when validating the config file.
This avoids the lengthy copyright/config message from dhcpd. * gnu/services/networking.scm (dhcpd-activation): Use 'invoke/quiet' instead of 'invoke'.
-rw-r--r--gnu/services/networking.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 59b895d60b..618dd95969 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016, 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 John Darrington <jmd@gnu.org>
@@ -313,7 +313,7 @@ Protocol (DHCP) client, on all the non-loopback network interfaces."
(with-output-to-file #$lease-file
(lambda _ (display ""))))
;; Validate the config.
- (invoke
+ (invoke/quiet
#$(file-append package "/sbin/dhcpd") "-t" "-cf"
#$config-file))))))