wait for network

This commit is contained in:
j 2023-10-13 13:37:42 +01:00
parent 6559939fc4
commit 0ce42b645a

View file

@ -17,6 +17,7 @@ else
fi fi
if [ "x$1" == "xsync" ]; then if [ "x$1" == "xsync" ]; then
shift shift
test -e /usr/bin/nm-online && /usr/bin/nm-online -q -t 0
exec python3 -m cdoseaplay.sync "$@" exec python3 -m cdoseaplay.sync "$@"
else else
exec python3 -m cdoseaplay.play "$@" exec python3 -m cdoseaplay.play "$@"