diff --git a/package/cnsztl/luci-app-baidupcs-mipsle/files/etc/init.d/baidupcs b/package/cnsztl/luci-app-baidupcs-mipsle/files/etc/init.d/baidupcs index 6a34f447a7..88e5788c19 100755 --- a/package/cnsztl/luci-app-baidupcs-mipsle/files/etc/init.d/baidupcs +++ b/package/cnsztl/luci-app-baidupcs-mipsle/files/etc/init.d/baidupcs @@ -13,6 +13,7 @@ start() { [ "$enabled" == "1" ] || return if [ ! -f "$path/baidupcs" ];then + mkdir -p $path 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 & diff --git a/package/cnsztl/luci-app-filebrowser-mipsle/files/etc/init.d/filebrowser b/package/cnsztl/luci-app-filebrowser-mipsle/files/etc/init.d/filebrowser index 12972bcd3b..712783de38 100755 --- a/package/cnsztl/luci-app-filebrowser-mipsle/files/etc/init.d/filebrowser +++ b/package/cnsztl/luci-app-filebrowser-mipsle/files/etc/init.d/filebrowser @@ -14,6 +14,7 @@ start() { [ "$enabled" == "1" ] || return if [ ! -f "$path/filebrowser" ];then + mkdir -p $path 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 &