mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
2010-11-08 Raul Mateos <raulofpandora@gmail.com>
* pandora_console_install: Updated year/version and link to update script * extras/pandoradb_migrate_v3.1_to_v3.2.sql: Updated news to 3.2 version. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
f7018895af
commit
adee2af5fe
@ -1,3 +1,9 @@
|
|||||||
|
2010-11-08 Raúl Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
|
* pandora_console_install: Updated year/version and link to update script
|
||||||
|
|
||||||
|
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Updated news to 3.2 version.
|
||||||
|
|
||||||
2010-11-08 Raúl Mateos <raulofpandora@gmail.com>
|
2010-11-08 Raúl Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
* pandoradb.sql. pandoradb_data.sql, pandora_console_install: Updated
|
* pandoradb.sql. pandoradb_data.sql, pandora_console_install: Updated
|
||||||
|
@ -168,3 +168,10 @@ ALTER TABLE trecon_task ADD FOREIGN KEY (`id_recon_script`) REFERENCES trecon_sc
|
|||||||
ALTER TABLE tagente_modulo MODIFY `descripcion` TEXT NOT NULL default '';
|
ALTER TABLE tagente_modulo MODIFY `descripcion` TEXT NOT NULL default '';
|
||||||
ALTER TABLE tagente_modulo MODIFY `tcp_send` TEXT default '';
|
ALTER TABLE tagente_modulo MODIFY `tcp_send` TEXT default '';
|
||||||
ALTER TABLE tagente_modulo MODIFY `tcp_rcv` TEXT default '';
|
ALTER TABLE tagente_modulo MODIFY `tcp_rcv` TEXT default '';
|
||||||
|
|
||||||
|
|
||||||
|
-- -----------------------------------------------------
|
||||||
|
-- Table `tnews`
|
||||||
|
-- -----------------------------------------------------
|
||||||
|
|
||||||
|
UPDATE tnews SET subject='Welcome to Pandora FMS 3.2!',text='This is the new Pandora FMS Console. A lot of new features have been added since last version. Please read the documentation about it, and feel free to test any option.\r\n\r\nThe Pandora FMS Team.',timestamp=NOW() WHERE id_news = '1';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Pandora FMS 3.1 Console Upgrade (c) 2009-2010 Artica ST
|
# Pandora FMS 3.2 Console Upgrade (c) 2009-2010 Artica ST
|
||||||
# Please see http://www.pandorafms.com
|
# Please see http://www.pandorafms.com
|
||||||
# This code is licensed under GPL 2.0 license.
|
# This code is licensed under GPL 2.0 license.
|
||||||
# **********************************************************************
|
# **********************************************************************
|
||||||
@ -43,7 +43,7 @@ pandora_upgrade () {
|
|||||||
DBPASS=`cat $PANDORAPATH/include/config.php | grep dbpass | grep -v "^\/" | grep -o "\=\"[a-zA-Z0-9]*\"" | grep -o "[A-Za-z0-9]*"`
|
DBPASS=`cat $PANDORAPATH/include/config.php | grep dbpass | grep -v "^\/" | grep -o "\=\"[a-zA-Z0-9]*\"" | grep -o "[A-Za-z0-9]*"`
|
||||||
DBHOST=`cat $PANDORAPATH/include/config.php | grep dbhost | grep -v "^\/" | grep -o "\=\"[a-zA-Z0-9]*\"" | grep -o "[A-Za-z0-9]*"`
|
DBHOST=`cat $PANDORAPATH/include/config.php | grep dbhost | grep -v "^\/" | grep -o "\=\"[a-zA-Z0-9]*\"" | grep -o "[A-Za-z0-9]*"`
|
||||||
DBNAME=`cat $PANDORAPATH/include/config.php | grep dbname | grep -v "^\/" | grep -o "\=\"[a-zA-Z0-9]*\"" | grep -o "[A-Za-z0-9]*"`
|
DBNAME=`cat $PANDORAPATH/include/config.php | grep dbname | grep -v "^\/" | grep -o "\=\"[a-zA-Z0-9]*\"" | grep -o "[A-Za-z0-9]*"`
|
||||||
cat extras/pandoradb_migrate_v3.0_to_v3.1.sql | mysql -f -u $DBUSER -p$DBPASS -h $DBHOST -D $DBNAME
|
cat extras/pandoradb_migrate_v3.1_to_v3.2.sql | mysql -f -u $DBUSER -p$DBPASS -h $DBHOST -D $DBNAME
|
||||||
fi
|
fi
|
||||||
|
|
||||||
WWWUSER=`ls -la $PANDORAPATH/index.php | awk '{ print $3 }'`
|
WWWUSER=`ls -la $PANDORAPATH/index.php | awk '{ print $3 }'`
|
||||||
@ -106,7 +106,7 @@ help () {
|
|||||||
|
|
||||||
# Script banner at start
|
# Script banner at start
|
||||||
echo " "
|
echo " "
|
||||||
echo "Pandora FMS 3.1 Console Upgrade (c) 2009-2010 Artica ST"
|
echo "Pandora FMS 3.2 Console Upgrade (c) 2009-2010 Artica ST"
|
||||||
echo "This program is licensed under GPL2 Terms. http://pandorafms.com"
|
echo "This program is licensed under GPL2 Terms. http://pandorafms.com"
|
||||||
echo " "
|
echo " "
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user