nodejs: add on parameters to scripts

This commit is contained in:
openoms 2020-05-29 15:21:38 +01:00
parent c38051e6b5
commit c41d5ce727
No known key found for this signature in database
GPG key ID: 5BFB77609B081B65
3 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
echo "*** INSTALL BALANCE OF SATOSHIS ***"
# check and install NodeJS
/home/admin/config.scripts/bonus.nodejs.sh
/home/admin/config.scripts/bonus.nodejs.sh on
# create bos user
sudo adduser --disabled-password --gecos "" bos

View file

@ -100,7 +100,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
if [ ${isInstalled} -eq 0 ]; then
# install nodeJS
/home/admin/config.scripts/bonus.nodejs.sh
/home/admin/config.scripts/bonus.nodejs.sh on
# make sure that txindex of blockchain is switched on
/home/admin/config.scripts/network.txindex.sh on

View file

@ -63,7 +63,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
else
# check and install NodeJS
/home/admin/config.scripts/bonus.nodejs.sh
/home/admin/config.scripts/bonus.nodejs.sh on
# check for Python2 (install if missing)
# TODO remove Python2 ASAP!