diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a85a16ff90..566155c31f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-11-08 Raúl Mateos + + * 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 * pandoradb.sql. pandoradb_data.sql, pandora_console_install: Updated diff --git a/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql b/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql index 8eb83a6adf..3b085166f5 100644 --- a/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql +++ b/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql @@ -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 `tcp_send` 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'; diff --git a/pandora_console/pandora_console_upgrade b/pandora_console/pandora_console_upgrade index 857b8ab623..20e0cd10a9 100644 --- a/pandora_console/pandora_console_upgrade +++ b/pandora_console/pandora_console_upgrade @@ -1,6 +1,6 @@ #!/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 # 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]*"` 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]*"` - 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 WWWUSER=`ls -la $PANDORAPATH/index.php | awk '{ print $3 }'` @@ -106,7 +106,7 @@ help () { # Script banner at start 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 " "