From acca8fa1274b4a227de6ebe85ac4804c412b3fc3 Mon Sep 17 00:00:00 2001 From: tmxk2021 <90445826+tmxk2021@users.noreply.github.com> Date: Mon, 30 Dec 2024 19:36:32 +0800 Subject: [PATCH] Update openwrtlive.sh --- openwrtlive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openwrtlive.sh b/openwrtlive.sh index 0c9cb27..14ad7e9 100644 --- a/openwrtlive.sh +++ b/openwrtlive.sh @@ -1,6 +1,6 @@ #!/bin/sh -# 自动化配置Nginx并设置HKDVB直播源 +# 自动化配置Nginx并设置直播源(Openwrt) set -e CONFIG_FILE="/etc/setup_hkdvb.conf" @@ -55,7 +55,7 @@ echo "FEIYANG_IP: $FEIYANG_IP" echo "检查Nginx是否已安装..." if ! command -v nginx &> /dev/null; then echo "Nginx未安装,开始安装..." - opkg update && opkg install nginx + opkg update; opkg install nginx else echo "Nginx已安装,跳过安装步骤。" fi