~ruther/guix-local

2d49f8452215ab6e898589cd757d02fc1f1fc930 — Ludovic Courtès 12 years ago 0e2672a
services: networking: Fix typo in static networking service.

* gnu/services/networking.scm (static-networking-service): Use
  $inetutils/bin/ifconfig, not $inetutils/sbin/ifconfig.
1 files changed, 1 insertions(+), 1 deletions(-)

M gnu/services/networking.scm
M gnu/services/networking.scm => gnu/services/networking.scm +1 -1
@@ 73,7 73,7 @@ true, it must be a string specifying the default network gateway."
                            #t))))
      (stop #~(lambda _
                ;; Return #f is successfully stopped.
                (not (and (system* (string-append #$inetutils "/sbin/ifconfig")
                (not (and (system* (string-append #$inetutils "/bin/ifconfig")
                                   #$interface "down")
                          (system* (string-append #$net-tools "/sbin/route")
                                   "del" "-net" "default")))))