modified: package/cnsztl/luci-app-baidupcs-mipsle/files/etc/init.d/baidupcs
modified: package/cnsztl/luci-app-filebrowser-mipsle/files/etc/init.d/filebrowser
This commit is contained in:
parent
bd7b7d5257
commit
7b267fb0c5
@ -13,7 +13,7 @@ start() {
|
||||
[ "$enabled" == "1" ] || return
|
||||
|
||||
if [ ! -f "$path/baidupcs" ];then
|
||||
wget -O $path/baidupcs https://openwrt-cdn.netlify.com/download/bin/mipsle/baidupcs-go && cd $path && ./baidupcs web --port $port --access >/dev/null 2>&1 &
|
||||
wget -O $path/baidupcs https://mirror.router.ctcgfw.generalcdn.top/download/mipsle/baidupcs-go && cd $path && ./baidupcs web --port $port --access >/dev/null 2>&1 &
|
||||
else
|
||||
$path/baidupcs web --port $port --access >/dev/null 2>&1 &
|
||||
fi
|
||||
|
||||
@ -14,7 +14,7 @@ start() {
|
||||
[ "$enabled" == "1" ] || return
|
||||
|
||||
if [ ! -f "$path/filebrowser" ];then
|
||||
wget -O $path/filebrowser https://openwrt-cdn.netlify.com/download/bin/mipsle/filebrowser && cd $path && ./filebrowser --port $port --scope $scope >/dev/null 2>&1 &
|
||||
wget -O $path/filebrowser https://mirror.router.ctcgfw.generalcdn.top/download/mipsle/filebrowser && cd $path && ./filebrowser --port $port --scope $scope >/dev/null 2>&1 &
|
||||
else
|
||||
cd $path && ./filebrowser --port $port --scope $scope >/dev/null 2>&1 &
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user