diff -Nur -x '*.orig' -x '*.rej' smeserver-postgresql-0.0.1/root/etc/e-smith/events/actions/pgsql-dump-tables mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/events/actions/pgsql-dump-tables --- smeserver-postgresql-0.0.1/root/etc/e-smith/events/actions/pgsql-dump-tables 2006-05-24 15:16:23.000000000 -0400 +++ mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/events/actions/pgsql-dump-tables 2006-09-25 10:29:05.000000000 -0400 @@ -1,4 +1,10 @@ #!/bin/sh +status=$(/sbin/e-smith/config getprop postgresql status) +if [ "$status" = "disabled" ] +then + echo "postgresql is disabled - no tables dumped" >&2 + exit 0 +fi exec >/home/e-smith/db/pgsql/pgsql.dump exec chpst -u postgres pg_dumpall