Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated agent installer to actually work for 32bit #171

Merged
merged 5 commits into from
Jun 21, 2017
Merged

Updated agent installer to actually work for 32bit #171

merged 5 commits into from
Jun 21, 2017

Commits on May 15, 2017

  1. Updated agent installer to actually work for 32bit

    Due to Issue #170, I've added some logic that'll change the systemd service that gets setup to call the 'amonagent32' binary rather than 'amonagent' for "i686" architectures. Not entirely pretty, but, it's better than failing as it does now.
    docdawning authored May 15, 2017
    Configuration menu
    Copy the full SHA
    c140118 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2017

  1. Update agent.sh

    "The binary for the agent is located in /usr/local/bin/amonagent", was not true for me when I installed. In my case it went to /usr/bin/amonagent.
    docdawning authored May 21, 2017
    Configuration menu
    Copy the full SHA
    04e59df View commit details
    Browse the repository at this point in the history
  2. Update agent.sh

    Added installer check for debian that will lead to the unsupported message if on an architecture for which there isn't a suitable amonagent binary. I'm doing this because the installer ran fine on my armv7l machine, but the amonagent binary will not execute on it, nor would amonagent32 (obviously).
    
    Adjusted string comparison expressions to be more robust (if [ $DISTRO == "astring"] is not as good as if [ "$DISTRO" == "astring"] because when DISTRO is undefined, bash will crap its pants.
    docdawning authored May 21, 2017
    Configuration menu
    Copy the full SHA
    0ff39ab View commit details
    Browse the repository at this point in the history
  3. Update agent.sh

    docdawning authored May 21, 2017
    Configuration menu
    Copy the full SHA
    84beb8a View commit details
    Browse the repository at this point in the history

Commits on May 22, 2017

  1. Update agent.sh

    Decided the string comparisons ought to all use double-quotes.
    docdawning authored May 22, 2017
    Configuration menu
    Copy the full SHA
    9b483f5 View commit details
    Browse the repository at this point in the history