From f373997956d46695a23a366f5854564745a929ed Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Fri, 7 Jun 2019 00:27:38 +0800 Subject: [PATCH] modified: package/cnsztl/luci-app-baidupcs-mipsle/files/etc/init.d/baidupcs modified: package/cnsztl/luci-app-filebrowser-mipsle/files/etc/init.d/filebrowser --- .../cnsztl/luci-app-baidupcs-mipsle/files/etc/init.d/baidupcs | 4 ++-- .../luci-app-filebrowser-mipsle/files/etc/init.d/filebrowser | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 32fdcfed44..2845c31320 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,12 +13,12 @@ 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>/dev/null & + wget -O $path/baidupcs https://openwrt-cdn.netlify.com/download/bin/mipsle/baidupcs-go && cd $path && ./baidupcs web --port $port --access 2>&1 >/dev/null & else $path/baidupcs web --port $port --access >/dev/null 2>/dev/null & fi } stop() { - killall baidupcs >/dev/null 2>/dev/null & + killall baidupcs 2>&1 >/dev/null & } 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 09ec4b6266..aa9e4eb753 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,9 +14,9 @@ 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>/dev/null & + wget -O $path/filebrowser https://openwrt-cdn.netlify.com/download/bin/mipsle/filebrowser && cd $path && ./filebrowser --port $port --scope $scope 2>&1 >/dev/null & else - cd $path && ./filebrowser --port $port --scope $scope >/dev/null 2>/dev/null & + cd $path && ./filebrowser --port $port --scope $scope 2>&1 >/dev/null & fi }