Revision: 7921
http://syscheck.svn.sourceforge.net/syscheck/?rev=7921&view=rev
Author: kinneh
Date: 2010-10-19 12:17:05 +0000 (Tue, 19 Oct 2010)
Log Message:
-----------
Ticket #38 add a pre-upgrade script to copy all key config/keystores to /tmp/backup_htmf_conf, fix messages
Modified Paths:
--------------
trunk/syscheck/related-available/926_local_htmf_copy_conf.sh
Modified: trunk/syscheck/related-available/926_local_htmf_copy_conf.sh
===================================================================
--- trunk/syscheck/related-available/926_local_htmf_copy_conf.sh 2010-10-19 12:10:46 UTC (rev 7920)
+++ trunk/syscheck/related-available/926_local_htmf_copy_conf.sh 2010-10-19 12:17:05 UTC (rev 7921)
@@ -33,7 +33,6 @@
### end config ###
-PRINTTOSCREEN=1
if [ "x$1" = "x-h" -o "x$1" = "x--help" ] ; then
echo "$HELP"
echo "$ERRNO_1/$DESCR_1 - $HELP_1"
@@ -60,10 +59,10 @@
printtoscreen "Copying file: ${HTMF_FILE[$j]} to:${BACKUP_DIR}"
cp -f "${HTMF_FILE[$j]}" ${BACKUP_DIR}
if [ $? -ne 0 ] ; then
- printlogmess $ERROR $ERRNO_3 "$DESCR_3" ${HTMF_FILE[$j]}
+ printlogmess $ERROR $ERRNO_2 "$DESCR_2" ${HTMF_FILE[$j]}
continue
else
- printlogmess $INFO $ERRNO_2 "$DESCR_2" ${HTMF_FILE[$j]}
+ printlogmess $INFO $ERRNO_1 "$DESCR_1" ${HTMF_FILE[$j]}
fi
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|