Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
13
scripts/telegraf_entry_mac
Normal file
13
scripts/telegraf_entry_mac
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
currentDir="$( cd "$(dirname "$0")" ; pwd -P )"
|
||||
|
||||
if [[ $currentDir == *"AppTranslocation"* || $currentDir == *"Volumes"* ]]; then
|
||||
osascript -e "display alert \"Please copy Telegraf to somewhere on your machine. It can't be run from the image.\" as critical"
|
||||
else
|
||||
cd $currentDir
|
||||
osascript<<EOF
|
||||
tell application "Terminal"
|
||||
do script " $currentDir/../Resources/usr/bin/telegraf $@"
|
||||
end tell
|
||||
EOF
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue