luci-app-filebrowser-mipsle: fix init
This commit is contained in:
parent
52568c2ca2
commit
63dc8c1f20
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user