mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
More fixed to Linux install script
This commit is contained in:
parent
c4a32faccc
commit
67eb89143d
1 changed files with 4 additions and 3 deletions
|
@ -142,7 +142,8 @@ DownloadAgent() {
|
|||
# initd
|
||||
wget $url/meshagents?script=2 --no-check-certificate -O /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
|
||||
echo 'meshagent installed as init.d service.'
|
||||
echo 'To start service: sudo service meshagent start'
|
||||
|
|
Loading…
Add table
Reference in a new issue