source:
ogAgent-Git/macos/scripts/postinstall
Last change on this file was 64dea9f, checked in by , 11 months ago | |
---|---|
|
|
File size: 391 bytes |
Line | |
---|---|
1 | #!/usr/bin/env sh |
2 | |
3 | SRCDIR=$(dirname "$0") |
4 | BINDIR=/usr/local/bin |
5 | LAUNCH_AGENTS_DIR=/Library/LaunchAgents |
6 | LAUNCH_DAEMONS_DIR=/Library/LaunchDaemons |
7 | |
8 | cp $SRCDIR/ogagent $BINDIR |
9 | cp $SRCDIR/ip.py $BINDIR/ip ## override 'ip' from iproute2mac-1.4.2 with a more recent one |
10 | cp $SRCDIR/es.opengnsys.agent.system.plist $LAUNCH_DAEMONS_DIR |
11 | cp $SRCDIR/es.opengnsys.agent.user.plist $LAUNCH_AGENTS_DIR |
Note: See TracBrowser
for help on using the repository browser.