Bläddra i källkod

- Fixed the line endings in agent_conf.sh
- Now the launcher makes agent_conf.sh executable on start and after updating.

DieFeM 12 år sedan
förälder
incheckning
7595bbceb8
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      ogp_agent_run

+ 2 - 0
ogp_agent_run

@@ -20,6 +20,7 @@ if [ -d "$AGENTDIR/screenlogs" ]; then
 fi
 chmod +x $AGENTDIR/ogp_agent.pl
 chmod +x $AGENTDIR/ogp_agent_run
+chmod +x $AGENTDIR/agent_conf.sh
 
 if test `id -u` -eq 0; then
 	echo
@@ -160,6 +161,7 @@ update() {
 								echo "Fixing permissions..."
 								chmod ug+x $AGENTDIR/ogp_agent.pl &> /dev/null
 								chmod ug+x $AGENTDIR/ogp_agent_run &> /dev/null
+								chmod ug+x $AGENTDIR/agent_conf.sh &> /dev/null
 								echo "Cleaning up..."
 								cd ..
 								rm -Rf linux-agent-* &> /dev/null