From 4b2832cc0fbb2330b31b913a4341467f656a2fee Mon Sep 17 00:00:00 2001 From: Dennis Trinks Date: Mon, 7 May 2012 22:09:13 +0200 Subject: [PATCH] dependency openvpn.openvpn --- CLIENT_DATA/setup32.ins | 4 +++- OPSI/control | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CLIENT_DATA/setup32.ins b/CLIENT_DATA/setup32.ins index d20bcda..514de49 100644 --- a/CLIENT_DATA/setup32.ins +++ b/CLIENT_DATA/setup32.ins @@ -146,7 +146,9 @@ sc config OpenVPNService start= auto netsh firewall set opmode mode=disable interface="LAN-Verbindung OpenVPN" netsh firewall set service type=remotedesktop mode=enable scope=all -%ScriptPath%\set_2nd_ip.vbs $local_ip_addr2$ $local_netmask2$ +if not ($local_ip_addr2$ = "") + %ScriptPath%\set_2nd_ip.vbs $local_ip_addr2$ $local_netmask2$ +endif ;$wget_uninst$ /silent diff --git a/OPSI/control b/OPSI/control index 2227850..42dcd76 100644 --- a/OPSI/control +++ b/OPSI/control @@ -23,7 +23,7 @@ userLoginScript: [ProductDependency] action: setup -requiredProduct: openvpn +requiredProduct: openvpn.openvpn requiredAction: setup requirementType: before