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:
parent
0e2672aee3
commit
2d49f84522
|
@ -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")))))
|
||||
|
|
Loading…
Reference in New Issue