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
|
(start
|
||||||
#~(lambda _
|
#~(lambda _
|
||||||
(let ((timeout #$(file-append coreutils-minimal "/bin/timeout"))
|
(let ((timeout #$(file-append coreutils-minimal "/bin/timeout"))
|
||||||
|
(sleep #$(file-append coreutils-minimal "/bin/sleep"))
|
||||||
(sh #$(file-append bash-minimal "/bin/sh"))
|
(sh #$(file-append bash-minimal "/bin/sh"))
|
||||||
(ping (if #$home-service?
|
(ping (if #$home-service?
|
||||||
"ping"
|
"ping"
|
||||||
@ -60,9 +61,10 @@
|
|||||||
(format #f "\
|
(format #f "\
|
||||||
until ~a -qc1 -W1 example.org
|
until ~a -qc1 -W1 example.org
|
||||||
do
|
do
|
||||||
sleep 1
|
~a 1
|
||||||
done"
|
done"
|
||||||
ping)))))))))
|
ping
|
||||||
|
sleep)))))))))
|
||||||
|
|
||||||
(define network-online-service-type
|
(define network-online-service-type
|
||||||
(service-type
|
(service-type
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user