aboutsummaryrefslogtreecommitdiff
path: root/src/vpn
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpn')
-rw-r--r--src/vpn/Makefile.am2
-rw-r--r--src/vpn/install-vpn-helper.sh8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/vpn/Makefile.am b/src/vpn/Makefile.am
index 2826028e8..e7802bc9a 100644
--- a/src/vpn/Makefile.am
+++ b/src/vpn/Makefile.am
@@ -18,7 +18,7 @@ pkgcfg_DATA = \
18if LINUX 18if LINUX
19VPNBIN = gnunet-helper-vpn 19VPNBIN = gnunet-helper-vpn
20install-exec-hook: 20install-exec-hook:
21 $(top_srcdir)/src/nat/install-vpn-helper.sh $(SUDO_BINARY) $(bindir) || true 21 $(top_srcdir)/src/vpn/install-vpn-helper.sh $(bindir) $(SUDO_BINARY) || true
22else 22else
23install-exec-hook: 23install-exec-hook:
24endif 24endif
diff --git a/src/vpn/install-vpn-helper.sh b/src/vpn/install-vpn-helper.sh
index fbef41c7e..0996e7839 100644
--- a/src/vpn/install-vpn-helper.sh
+++ b/src/vpn/install-vpn-helper.sh
@@ -1,5 +1,5 @@
1#!/bin/bash 1#!/bin/bash
2# $1 - sudo binary 2# $1 - bindir
3# $2 - bindir 3# $2 - sudo binary (optional)
4$1 chown root:root $2/gnunet-helper-vpn || true 4$2 chown root:root $1/gnunet-helper-vpn || true
5$1 chmod u+s $2/gnunet-helper-vpn || true 5$2 chmod u+s $1/gnunet-helper-vpn || true