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