Skip to content

Commit

Permalink
fix: 🐛 恢复前置检查
Browse files Browse the repository at this point in the history
  • Loading branch information
monlor committed Jun 1, 2024
1 parent 447b523 commit 6a667b5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions emby/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/sh

# echo "等待alist启动完成..."
# while ! wget -q -T 1 -O /dev/null "${ALIST_ADDR:=http://alist:5678}" &> /dev/null; do
# sleep 2
# done

# echo "等待元数据下载完成..."
# while test ! -f /config/emby_meta_finished; do
# sleep 2
# done
echo "等待alist启动完成..."
while ! wget -q -T 1 -O /dev/null "${ALIST_ADDR:=http://alist:5678}" &> /dev/null; do
sleep 2
done

echo "等待元数据下载完成..."
while test ! -f /config/emby_meta_finished; do
sleep 2
done

cat > /etc/nsswitch.conf <<-EOF
hosts: files dns
Expand Down

0 comments on commit 6a667b5

Please sign in to comment.