From e420546bd7d69575b82793d80ab50d7b474eedf1 Mon Sep 17 00:00:00 2001
From: Stefano Miccoli
Date: Tue, 12 Aug 2014 16:46:32 +0200
Subject: [PATCH 2/2] corrected autoconf var

---
 src/scripts/systemd/owfs.service.in     |    2 +-
 src/scripts/systemd/owftpd.service.in   |    2 +-
 src/scripts/systemd/owhttpd.service.in  |    2 +-
 src/scripts/systemd/owserver.service.in |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/scripts/systemd/owfs.service.in b/src/scripts/systemd/owfs.service.in
index 224b525..04e28d4 100644
--- a/src/scripts/systemd/owfs.service.in
+++ b/src/scripts/systemd/owfs.service.in
@@ -3,7 +3,7 @@ Description=1-wire filesystem FUSE mount
 Documentation=man:owfs(1)
 
 [Service]
-ExecStart=@bindir@/owfs --server=127.0.0.1 --allow_other /run/owfs
+ExecStart=@BINDIR@/owfs --server=127.0.0.1 --allow_other /run/owfs
 ExecStop=/usr/bin/umount /run/owfs
 
 [Install]
diff --git a/src/scripts/systemd/owftpd.service.in b/src/scripts/systemd/owftpd.service.in
index 242e0d3..d2a1cd6 100644
--- a/src/scripts/systemd/owftpd.service.in
+++ b/src/scripts/systemd/owftpd.service.in
@@ -3,7 +3,7 @@ Description=Anonymous FTP server for 1-wire access
 Documentation=man:owftpd(1)
 
 [Service]
-ExecStart=@bindir@/owftpd --foreground --server=127.0.0.1
+ExecStart=@BINDIR@/owftpd --foreground --server=127.0.0.1
 User=ow
 Group=ow
 
diff --git a/src/scripts/systemd/owhttpd.service.in b/src/scripts/systemd/owhttpd.service.in
index 116ce2a..45f029f 100644
--- a/src/scripts/systemd/owhttpd.service.in
+++ b/src/scripts/systemd/owhttpd.service.in
@@ -4,7 +4,7 @@ Documentation=man:owhttpd(1)
 After=avahi-daemon.service
 
 [Service]
-ExecStart=@bindir@/owhttpd --foreground --server=127.0.0.1
+ExecStart=@BINDIR@/owhttpd --foreground --server=127.0.0.1
 User=ow
 Group=ow
 
diff --git a/src/scripts/systemd/owserver.service.in b/src/scripts/systemd/owserver.service.in
index e65c67b..7c84b01 100644
--- a/src/scripts/systemd/owserver.service.in
+++ b/src/scripts/systemd/owserver.service.in
@@ -4,7 +4,7 @@ Documentation=man:owserver(1)
 
 [Service]
 Type=notify
-ExecStart=@bindir@/owserver --w1
+ExecStart=@BINDIR@/owserver --w1
 Restart=on-failure
 #User=ow
 #Group=ow
-- 
1.7.10.4

