- Enable use of resolveconf
PR: 195359 Submitted by: John Baldwin <jhb@FreeBSD.org>
This commit is contained in:
parent
c7f9cfcf5f
commit
539e08f66c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381107
2 changed files with 12 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= vpnc-scripts
|
||||
PORTVERSION= 20140806
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ftp://ftp.infradead.org/pub/${PORTNAME}/ \
|
||||
http://mirrors.rit.edu/zi/
|
||||
|
|
11
sysutils/vpnc-scripts/files/patch-vpnc-script
Normal file
11
sysutils/vpnc-scripts/files/patch-vpnc-script
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- vpnc-script.orig 2014-08-05 13:38:58 UTC
|
||||
+++ vpnc-script
|
||||
@@ -121,7 +121,7 @@ if [ -r /etc/openwrt_release ] && [ -n "
|
||||
include /lib/network
|
||||
MODIFYRESOLVCONF=modify_resolvconf_openwrt
|
||||
RESTORERESOLVCONF=restore_resolvconf_openwrt
|
||||
-elif [ -x /sbin/resolvconf ] && [ "$OS" != "FreeBSD" ]; then # Optional tool on Debian, Ubuntu, Gentoo - but not FreeBSD, it seems to work different
|
||||
+elif [ -x /sbin/resolvconf ]; then # Optional tool on Debian, Ubuntu, Gentoo and FreeBSD
|
||||
MODIFYRESOLVCONF=modify_resolvconf_manager
|
||||
RESTORERESOLVCONF=restore_resolvconf_manager
|
||||
elif [ -x /sbin/netconfig ]; then # tool on Suse after 11.1
|
Loading…
Reference in a new issue