summaryrefslogtreecommitdiff
path: root/go/src/nshd/nshd_files/paths.go.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-02-04 17:56:49 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-02-04 18:16:05 -0500
commit84dbb723d5bc4119b336ed3444a243063b1e959c (patch)
tree94ac27062a06df7ff07b1d44cc6c38b5ed49e64f /go/src/nshd/nshd_files/paths.go.in
parentf9e2269c3a75305ca473490f13179bd0069d2447 (diff)
nshd: Centralize all config-var substitutions into a `paths.go`.
I'm tired of accidentally editing the wrong file.
Diffstat (limited to 'go/src/nshd/nshd_files/paths.go.in')
-rw-r--r--go/src/nshd/nshd_files/paths.go.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/go/src/nshd/nshd_files/paths.go.in b/go/src/nshd/nshd_files/paths.go.in
new file mode 100644
index 0000000..652a37b
--- /dev/null
+++ b/go/src/nshd/nshd_files/paths.go.in
@@ -0,0 +1,7 @@
+package nshd_files
+
+const (
+ ConfFile = "@conf_file@"
+ ShadowFile = "@shadow_file@"
+ BinDir = "@bindir@"
+)