diff options
author | EUcancER <root@euer.krebsco.de> | 2011-09-15 02:02:34 +0200 |
---|---|---|
committer | EUcancER <root@euer.krebsco.de> | 2011-09-15 02:02:34 +0200 |
commit | 095b22ab0c4b8ca7c6f33af2d1f75d3d82055455 (patch) | |
tree | a34afa0947b668fce2dc2b39fa1cfeac03386659 /retiolum/bin/get-tinc-dir | |
parent | 88517b3edfc7b633d210422afb8579e5d0d3d1e0 (diff) | |
parent | 90be8b346c43da2b36c0b4872fcf1190cfaeaa85 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'retiolum/bin/get-tinc-dir')
-rwxr-xr-x | retiolum/bin/get-tinc-dir | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/retiolum/bin/get-tinc-dir b/retiolum/bin/get-tinc-dir new file mode 100755 index 00000000..3f48b2cd --- /dev/null +++ b/retiolum/bin/get-tinc-dir @@ -0,0 +1,9 @@ +#!/bin/ksh +case `uname -a` in + Linux*|CYGWIN*|MING*) echo "/etc/tinc" + ;; + SunOS*|Darwin*) echo "/usr/local/etc/tinc" + ;; + *) echo "/etc/tinc" + ;; +esac |