mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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")))))
|
||||
|
|
Loading…
Reference in a new issue