mirror of
https://github.com/tmxk2021/CF-IPTV.git
synced 2025-12-19 00:05:19 +08:00
Update openwrtlive.sh
This commit is contained in:
@@ -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 nginx-mod-luci-ssl || { echo "Nginx 安装失败!请检查 opkg 是否正常工作。"; exit 1; }
|
||||
else
|
||||
echo "Nginx 已安装,跳过安装步骤。"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user