Skip to content

Commit

Permalink
Merge pull request #1027 from rnbwkat/master
Browse files Browse the repository at this point in the history
Update install.sh
  • Loading branch information
ddpbsd authored Jan 20, 2017
2 parents 6bd858e + 24d4856 commit 6e134ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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



Expand Down Expand Up @@ -401,6 +402,10 @@ ConfigureClient()
elif [ "X${HNAME}" != "X" ]; then
echo " <server-hostname>$HNAME</server-hostname>" >> $NEWCONFIG
fi
if [ "$X{USER_AGENT_CONFIG_PROFILE}" != "X" ]; then
PROFILE=${USER_AGENT_CONFIG_PROFILE}
echo " <config-profile>$PROFILE</config-profile>" >> $NEWCONFIG
fi
echo " </client>" >> $NEWCONFIG
echo "" >> $NEWCONFIG

Expand Down

0 comments on commit 6e134ab

Please sign in to comment.