Page MenuHomeDevCentral

D3431.diff
No OneTemporary

D3431.diff

diff --git a/shell/is-freebsd.sh b/shell/is-freebsd.sh
new file mode 100644
--- /dev/null
+++ b/shell/is-freebsd.sh
@@ -0,0 +1,11 @@
+# -------------------------------------------------------------
+# Determine etc directory path
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+. /etc/os-release
+
+if [ "$ID" = "freebsd" ]; then
+ ETC=/usr/local/etc
+else
+ ETC=/etc
+fi

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 09:55 (10 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2262627
Default Alt Text
D3431.diff (405 B)

Event Timeline