1 |
diff -ruN e-smith-mysql-2.4.0.old/root/etc/e-smith/events/actions/mysql-load-tables e-smith-mysql-2.4.0/root/etc/e-smith/events/actions/mysql-load-tables |
2 |
--- e-smith-mysql-2.4.0.old/root/etc/e-smith/events/actions/mysql-load-tables 2008-10-06 07:29:16.000000000 -0700 |
3 |
+++ e-smith-mysql-2.4.0/root/etc/e-smith/events/actions/mysql-load-tables 2014-04-14 23:22:31.000000000 -0700 |
4 |
@@ -6,6 +6,7 @@ |
5 |
echo "mysqld is disabled - no tables restored" >&2 |
6 |
exit 0 |
7 |
fi |
8 |
+/bin/rm -f /home/e-smith/db/mysql/information_schema.dump |
9 |
if [ ! -f /var/lib/mysql/mysql/user.frm ] |
10 |
then |
11 |
for db in $(ls /home/e-smith/db/mysql/*.dump 2> /dev/null | grep -v '/mysql.dump') |