File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ curl -L http://adafruit-download.s3.amazonaws.com/webide-0.3.8.tar.gz | tar xzf
70
70
echo " **** Installing required libraries ****"
71
71
echo " **** (redis-server git restartd libcap2-bin avahi-daemon i2c-tools python-smbus) ****"
72
72
apt-get update
73
- apt-get install nodejs nodejs-legacy redis-server git restartd libcap2-bin avahi-daemon i2c-tools python-smbus -y
73
+ apt-get install nodejs nodejs-legacy redis-server git restartd libcap2-bin avahi-daemon i2c-tools python-smbus ntp -y
74
74
75
75
echo " **** Create webide user and group ****"
76
76
groupadd webide || true
@@ -124,11 +124,11 @@ echo "Attempting to force reload date and time from ntp server"
124
124
PORT_USED=" "
125
125
if netstat -lnt | awk ' $6 == "LISTEN" && $4 ~ ".80"' | grep -q " LISTEN"
126
126
then
127
- redis-cli HMSET server port 8080
128
- PORT_USED=" :8080 "
129
- echo " **** WARNING: PORT 80 IN USE. FALLING BACK TO 8080 . ****"
127
+ redis-cli HMSET server port 8090
128
+ PORT_USED=" :8090 "
129
+ echo " **** WARNING: PORT 80 IN USE. FALLING BACK TO 8090 . ****"
130
130
echo " **** TO CHOOSE A DIFFERENT PORT USE THE FOLLOWING COMMAND: ****"
131
- echo " **** redis-cli HMSET server port 8080 ****"
131
+ echo " **** redis-cli HMSET server port 8090 ****"
132
132
echo " **** AND RESTART THE SERVER ****"
133
133
fi
134
134
You can’t perform that action at this time.
0 commit comments