mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-11-29 22:58:06 +00:00
services: network-online: Fix sleep reference.
* modules/rosenthal/services/networking.scm (%network-online-shepherd): Fix sleep reference.
This commit is contained in:
1 file changed
+4
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user