Update op.sh
This commit is contained in:
parent
b6f2f39745
commit
fe613613a7
|
@ -95,6 +95,7 @@ install_1panel_on_openwrt() {
|
||||||
--network host \
|
--network host \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
-v /www/data/1panel-data:/opt/1panel_data \
|
-v /www/data/1panel-data:/opt/1panel_data \
|
||||||
|
-v /:/ahost \
|
||||||
-e TZ=Asia/Shanghai \
|
-e TZ=Asia/Shanghai \
|
||||||
moelin/1panel:latest
|
moelin/1panel:latest
|
||||||
|
|
||||||
|
@ -145,7 +146,9 @@ install_istorepanel() {
|
||||||
if [ "$isConfig" = "y" ] || [ -z "$isConfig" ]; then
|
if [ "$isConfig" = "y" ] || [ -z "$isConfig" ]; then
|
||||||
uci set istorepanel.@main[0].config_path=$config_path
|
uci set istorepanel.@main[0].config_path=$config_path
|
||||||
uci commit istorepanel
|
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 "———————————————安装完成————————————————————————"
|
greenline "———————————————安装完成————————————————————————"
|
||||||
countdown
|
countdown
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in New Issue