2010-11-10 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/prerm, DEBIAN/make_deb_package.sh: fixed the use pandora_exec for Pandora Server and Pandora Agent, now make a pandora_exec.agent and try to link to pandora_exec. Fixes: #3106578 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
03a3ef2198
commit
e1dd530186
|
@ -1,3 +1,11 @@
|
|||
2010-11-10 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* DEBIAN/postinst, DEBIAN/prerm, DEBIAN/make_deb_package.sh: fixed the use
|
||||
pandora_exec for Pandora Server and Pandora Agent, now make a
|
||||
pandora_exec.agent and try to link to pandora_exec.
|
||||
|
||||
Fixes: #3106578
|
||||
|
||||
2010-11-10 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* DEBIAN/make_deb_package.sh: fixed the include the bigger NT4 files in the
|
||||
|
|
|
@ -50,7 +50,7 @@ chmod 755 -R temp_package/DEBIAN
|
|||
#cp -aRf * temp_package/usr/share/pandora_agent/
|
||||
#but don't copy recursive the temp_package into temp_package
|
||||
|
||||
for item in `ls | grep -v NT4 | grep -v temp_package`
|
||||
for item in `ls | grep -v NT4 | grep -v AIX | grep -v FreeBSD | grep -v HP-UX | grep -v SunOS | grep -v temp_package`
|
||||
do
|
||||
#if [ \( $item != 'temp_package' \) -a \( $item != 'NT4' \) ]
|
||||
#then
|
||||
|
@ -59,7 +59,7 @@ do
|
|||
done
|
||||
cp -aRf tentacle_client temp_package/usr/bin/
|
||||
cp -aRf pandora_agent temp_package/usr/bin/
|
||||
cp -aRf pandora_exec temp_package/usr/bin/
|
||||
cp -aRf pandora_exec temp_package/usr/bin/pandora_exec.agent
|
||||
cp -aRf pandora_agent_daemon temp_package/etc/init.d/pandora_agent_daemon
|
||||
cp Linux/pandora_agent.conf temp_package/etc/pandora/
|
||||
|
||||
|
|
|
@ -13,6 +13,9 @@ echo "Copy new version of plugins into dir"
|
|||
cp -i /tmp/plugins/* /usr/share/pandora_agent/plugins/
|
||||
rm /tmp/plugins -rf
|
||||
|
||||
echo "Linking pandora_exec..."
|
||||
ln -s /usr/bin/pandora_exec.agent /usr/bin/pandora_exec 2> /dev/null
|
||||
|
||||
echo "Linking Pandora FMS Agent plugins directory to $PANDORA_CFG/plugins..."
|
||||
rm $PANDORA_CFG/plugins 2> /dev/null
|
||||
ln -s $PANDORA_HOME/plugins $PANDORA_CFG 2> /dev/null
|
||||
|
|
|
@ -10,3 +10,8 @@ PANDORA_CFG=/etc/pandora
|
|||
|
||||
update-rc.d -f pandora_agent_daemon remove
|
||||
|
||||
rm /usr/bin/pandora_exec
|
||||
if [ -e /usr/bin/pandora_exec.server ]
|
||||
then
|
||||
ln -s /usr/bin/pandora_exec.server /usr/bin/pandora_exec 2> /dev/null
|
||||
fi
|
|
@ -1,4 +1,4 @@
|
|||
2010-11- Miguel de Dios <miguel.dedios@artica.es>
|
||||
2010-11-10 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* DEBIAN/postinst, DEBIAN/prerm, DEBIAN/make_deb_package.sh: fixed the use
|
||||
pandora_exec for Pandora Server and Pandora Agent, now make a
|
||||
|
|
Loading…
Reference in New Issue