From 26f67181f7dfdb4eec067ad0488ef65961b0b961 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 19 Apr 2017 21:30:24 +0100 Subject: [PATCH] ipif: ship and use ipif-access --- ipif/Makefile | 2 ++ ipif/ipif | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ipif/Makefile b/ipif/Makefile index fe6ec6e..289935e 100644 --- a/ipif/Makefile +++ b/ipif/Makefile @@ -39,6 +39,7 @@ PROGRAMS+= $(PROGRAM_TARGETS) DIRS+= $(libuserv) $(etcuserv) $(services) DIRS+= $(docdir)/userv-ipif +DIRS+= $(etcuserv)/ipif-access DIRS$(depr)+= $(bindir) $(varlibvpn) $(shareuserv) SHAREFILES$(depr)+= udptunnel-vpn-config.m4 udptunnel-vpn-defaults @@ -54,6 +55,7 @@ all: $(TARGETS) install: all mkdir -p $(DIRS) cp -b service $(libuserv)/ipif + cp -b service-wrap $(libuserv)/ipif-access set -e; for f in $(PROGRAMS); do cp -b $$f $(bindir)/.; done cp ipif $(services)/ipif:new set -e; cd $(services); test -f ipif || mv ipif:new ipif diff --git a/ipif/ipif b/ipif/ipif index c6784c7..6154105 100644 --- a/ipif/ipif +++ b/ipif/ipif @@ -7,5 +7,5 @@ if ( grep calling-user-shell /etc/shells no-set-environment no-suppress-args no-disconnect-hup - execute /usr/lib/userv/ipif /etc/userv/ipif-networks -- + execute /usr/lib/userv/ipif-access /etc/userv/ipif-access /usr/lib/userv/ipif /etc/userv/ipif-networks -- fi -- 2.30.2