services: networking: Fix typo in static networking service.

* gnu/services/networking.scm (static-networking-service): Use
  $inetutils/bin/ifconfig, not $inetutils/sbin/ifconfig.
This commit is contained in:
Ludovic Courtès 2014-05-04 21:09:29 +02:00
parent 0e2672aee3
commit 2d49f84522

View file

@ -73,7 +73,7 @@ (define* (static-networking-service interface ip
#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")))))