close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
| Line | |
|---|
| 1 | #!/usr/bin/env sh |
|---|
| 2 | |
|---|
| 3 | # Directories |
|---|
| 4 | SRCDIR=$(dirname "$0") |
|---|
| 5 | BINDIR=/usr/bin |
|---|
| 6 | INITDIR=/Library/LaunchDaemons |
|---|
| 7 | |
|---|
| 8 | # Check if it needs to install Python dependencies: |
|---|
| 9 | if ! which pip &>/dev/null; then |
|---|
| 10 | easy_install pip |
|---|
| 11 | pip install netifaces requests six |
|---|
| 12 | fi |
|---|
| 13 | |
|---|
| 14 | # Copying files. |
|---|
| 15 | cp $SRCDIR/ogagent $BINDIR |
|---|
| 16 | cp $SRCDIR/es.opengnsys.ogagent.plist $INITDIR |
|---|
| 17 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.