More fixed to Linux install script

This commit is contained in:
Ylian Saint-Hilaire 2019-03-01 17:25:53 -08:00
parent 68340e1e57
commit 7689438b7a

View File

@ -142,7 +142,8 @@ DownloadAgent() {
# initd # initd
wget $url/meshagents?script=2 --no-check-certificate -O /etc/init.d/meshagent wget $url/meshagents?script=2 --no-check-certificate -O /etc/init.d/meshagent
chmod +x /etc/init.d/meshagent chmod +x /etc/init.d/meshagent
update-rc.d meshagent defaults # creates symlinks for rc.d # creates symlinks for rc.d
update-rc.d meshagent defaults
service meshagent start service meshagent start
echo 'meshagent installed as init.d service.' echo 'meshagent installed as init.d service.'
echo 'To start service: sudo service meshagent start' echo 'To start service: sudo service meshagent start'