summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2008-08-02 18:14:53 +0000
committerCédric Krier <cedk@gentoo.org>2008-08-02 18:14:53 +0000
commit36051d553965b98addf73ab16ae494871a41ae3a (patch)
tree2907acbcd6fbac0ec1684484446f212691f308a9 /net-misc/openvpn/files
parentwhitespace (diff)
downloadgentoo-2-36051d553965b98addf73ab16ae494871a41ae3a.tar.gz
gentoo-2-36051d553965b98addf73ab16ae494871a41ae3a.tar.bz2
gentoo-2-36051d553965b98addf73ab16ae494871a41ae3a.zip
Add --script-security 2 for bug #233657
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc/openvpn/files')
-rwxr-xr-xnet-misc/openvpn/files/openvpn-2.1.init3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-misc/openvpn/files/openvpn-2.1.init b/net-misc/openvpn/files/openvpn-2.1.init
index 633cae000a5f..daa163582173 100755
--- a/net-misc/openvpn/files/openvpn-2.1.init
+++ b/net-misc/openvpn/files/openvpn-2.1.init
@@ -80,10 +80,11 @@ start() {
grep -q "^[ \t]*remote[ \t].*" "${VPNCONF}" ; then
reenter="yes"
args="${args} --nobind --up-delay --up-restart"
+ args="${args} --script-security 2"
args="${args} --up /etc/openvpn/up.sh"
args="${args} --down-pre --down /etc/openvpn/down.sh"
- # Warn about setting scripts as we override them
+ # Warn about setting scripts as we override them
if grep -Eq "^[ \t]*(up|down)[ \t].*" "${VPNCONF}" ; then
ewarn "WARNING: You have defined your own up/down scripts"
ewarn "As you're running as a client, we now force Gentoo specific"