Skip to content

Reinstall Agent on Mac duplicates the agent #68

@itguylearner

Description

@itguylearner

When I run the repair option of AutomateAPI on Mac computers it duplicates the computer in LT, but when I run the repair option using this code, they are quickly fixed and not duplicated:
#maxlength=100000
#timeout=900000
sudo /usr/local/ltechagent/uninstaller.sh
cd /tmp
curl -L -o 'LT_Install.zip' TOKENURL
unzip -o LT_Install.zip
chmod 755 LTSvc.mpkg
chmod 755 config.sh
sudo installer -pkg LTSvc.mpkg -target /
Do you think we can test/change the AutomateAPI code to use this one?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions