From 24d48567502c4b5a4da486428c10164dba4e0a6c Mon Sep 17 00:00:00 2001 From: rnbwkat Date: Wed, 18 Jan 2017 13:10:22 -0600 Subject: [PATCH] Update install.sh --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index 066f99cfe..32920ebf4 100755 --- a/install.sh +++ b/install.sh @@ -12,6 +12,7 @@ # New function AddTable to add support for OpenBSD pf rules in firewall-drop active response # Changelog 29 March 2012 - Adding hybrid mode (standalone + agent) +# added fix for use of USER_AGENT_CONFIG_PROFILE in preloaded-vars @@ -401,6 +402,10 @@ ConfigureClient() elif [ "X${HNAME}" != "X" ]; then echo " $HNAME" >> $NEWCONFIG fi + if [ "$X{USER_AGENT_CONFIG_PROFILE}" != "X" ]; then + PROFILE=${USER_AGENT_CONFIG_PROFILE} + echo " $PROFILE" >> $NEWCONFIG + fi echo " " >> $NEWCONFIG echo "" >> $NEWCONFIG