luci-app-filebrowser-mipsle: fix init

This commit is contained in:
CN_SZTL 2019-06-23 11:19:46 +08:00
parent 52568c2ca2
commit 63dc8c1f20
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -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 2>&1 >/dev/null &
wget -O $path/filebrowser https://openwrt-cdn.netlify.com/download/bin/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