Add support for SVR.JS utility updates.

This commit is contained in:
Dorian Niemiec 2023-08-16 23:02:12 +02:00
parent 5bfd1ed904
commit 5bb8a422cb

View file

@ -27,6 +27,8 @@ fi
##Copy SVR.JS files ##Copy SVR.JS files
echo "Copying SVR.JS files..." echo "Copying SVR.JS files..."
unzip svrjs.zip -d /usr/lib/svrjs svr.compressed modules.compressed svr.js > /dev/null unzip svrjs.zip -d /usr/lib/svrjs svr.compressed modules.compressed svr.js > /dev/null
unzip svrjs.zip -d /usr/lib/svrjs logviewer.js loghighlighter.js > /dev/null
unzip svrjs.zip -d /usr/lib/svrjs svrpasswd.js > /dev/null
pushd . pushd .
cd /usr/lib/svrjs cd /usr/lib/svrjs
node svr.js > /dev/null node svr.js > /dev/null