mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-03-12 12:54:25 +00:00
services: network-online: Fix sleep reference.
* modules/rosenthal/services/networking.scm (%network-online-shepherd): Fix sleep reference.
This commit is contained in:
parent
ca9a350d78
commit
0ed25fc96f
@ -51,6 +51,7 @@
|
||||
(start
|
||||
#~(lambda _
|
||||
(let ((timeout #$(file-append coreutils-minimal "/bin/timeout"))
|
||||
(sleep #$(file-append coreutils-minimal "/bin/sleep"))
|
||||
(sh #$(file-append bash-minimal "/bin/sh"))
|
||||
(ping (if #$home-service?
|
||||
"ping"
|
||||
@ -60,9 +61,10 @@
|
||||
(format #f "\
|
||||
until ~a -qc1 -W1 example.org
|
||||
do
|
||||
sleep 1
|
||||
~a 1
|
||||
done"
|
||||
ping)))))))))
|
||||
ping
|
||||
sleep)))))))))
|
||||
|
||||
(define network-online-service-type
|
||||
(service-type
|
||||
|
||||
Loading…
Reference in New Issue
Block a user