From 418f3b07321d3c07cd1b8e11f40fd0898669d7e8 Mon Sep 17 00:00:00 2001 From: slerena Date: Wed, 3 Sep 2008 16:50:56 +0000 Subject: [PATCH] 2008-09-03 SAncho Lerena * linux/pandora_agent_installer: Added link to startup for linux agent. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1081 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/ChangeLog | 5 +++++ pandora_agents/linux/pandora_agent_installer | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/pandora_agents/ChangeLog b/pandora_agents/ChangeLog index 0552a6d9be..2034b42f21 100644 --- a/pandora_agents/ChangeLog +++ b/pandora_agents/ChangeLog @@ -1,3 +1,8 @@ +2008-09-03 SAncho Lerena + + * linux/pandora_agent_installer: Added link to startup + for linux agent. + 2008-07-31 Ramon Novoa * win32/bin/PandoraAgent.exe: Updated to r989. diff --git a/pandora_agents/linux/pandora_agent_installer b/pandora_agents/linux/pandora_agent_installer index 18f6b93fe0..75ccd0ab54 100755 --- a/pandora_agents/linux/pandora_agent_installer +++ b/pandora_agents/linux/pandora_agent_installer @@ -104,8 +104,13 @@ install () { chmod -R 600 $PANDORA_TEMP/data_out chmod 640 $PANDORA_LOG chgrp 3 $PANDORA_LOG - echo "Copyng start-up daemon script at $PANDORA_STARTUP"; + + echo "Linking start-up daemon script at $PANDORA_STARTUP"; cp pandora_agent_daemon $PANDORA_STARTUP + + echo "Linking start-up daemon script to /etc/rc2.d"; + ln -s /etc/init.d/pandora_agent_daemon /etc/rc2.d/S90pandora_agent + chown -R root $PANDORA_BIN echo "Done." echo " "