void-packages/srcpkgs/GCP-Guest-Environment/files/GCP-clock-skew/run
classabbyamp 351646d5bd *: add exec 2>&1 to all existing services
except when it already exists, of course
2023-02-09 21:36:13 -05:00

10 lines
183 B
Bash

#!/bin/sh
exec 2>&1
sv check GCP-Guest-Initialization >/dev/null || exit 1
while ! ping -c1 metadata.google.internal >/dev/null ; do
sleep 5
done
exec google_clock_skew_daemon