1 2 3 4 5 6 7 8 9
#!/bin/ksh case `uname -a` in Linux*|CYGWIN*|MING*) echo "/etc/tinc" ;; SunOS*|Darwin*) echo "/usr/local/etc/tinc" ;; *) echo "/etc/tinc" ;; esac