/[smeserver]/rpms/e-smith-mysql/sme7/e-smith-mysql-1.12.0.disabled_pre_backup.patch
ViewVC logotype

Contents of /rpms/e-smith-mysql/sme7/e-smith-mysql-1.12.0.disabled_pre_backup.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Oct 7 18:44:56 2008 UTC (15 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-mysql-1.12.0/root/etc/e-smith/events/actions/mysql-dump-tables mezzanine_patched_e-smith-mysql-1.12.0/root/etc/e-smith/events/actions/mysql-dump-tables
2 --- e-smith-mysql-1.12.0/root/etc/e-smith/events/actions/mysql-dump-tables 2006-03-16 01:44:28.000000000 -0500
3 +++ mezzanine_patched_e-smith-mysql-1.12.0/root/etc/e-smith/events/actions/mysql-dump-tables 2006-09-25 10:55:04.000000000 -0400
4 @@ -1,4 +1,10 @@
5 #!/bin/sh
6
7 +status=$(/sbin/e-smith/config getprop mysqld status)
8 +if [ "$status" = "disabled" ]
9 +then
10 + echo "mysqld is disabled - no tables dumped" >&2
11 + exit 0
12 +fi
13 exec >/home/e-smith/db/mysql/mysql.dump
14 exec /usr/bin/mysqldump --add-drop-table -A -Q

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed