From fe613613a730f4726aa570cd8e509654a102e02c Mon Sep 17 00:00:00 2001 From: wukongdaily <2666180@gmail.com> Date: Mon, 1 Jul 2024 20:56:49 +0800 Subject: [PATCH] Update op.sh --- zero3/op.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zero3/op.sh b/zero3/op.sh index 6ef74e2..b9245ca 100644 --- a/zero3/op.sh +++ b/zero3/op.sh @@ -95,6 +95,7 @@ install_1panel_on_openwrt() { --network host \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /www/data/1panel-data:/opt/1panel_data \ + -v /:/ahost \ -e TZ=Asia/Shanghai \ moelin/1panel:latest @@ -145,7 +146,9 @@ install_istorepanel() { if [ "$isConfig" = "y" ] || [ -z "$isConfig" ]; then uci set istorepanel.@main[0].config_path=$config_path uci commit istorepanel - "/usr/libexec/istorec/istorepanel.sh" install + wget -qO /tmp/istorepanel.sh https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/zero3/istorepanel.sh + chmod +x /tmp/istorepanel.sh + "/tmp/istorepanel.sh" install greenline "———————————————安装完成————————————————————————" countdown echo