reverting
[plcapi.git] / plc.d / postgresql
index a02ab57..c3c37b1 100755 (executable)
@@ -95,7 +95,7 @@ case "$1" in
 
        ######## /var/lib/pgsql/data/pg_hba.conf
        # Disable access to MyPLC and drupal DBs from all hosts
-       sed -i -e '/^\(host\|local\)\s\($PLC_DB_NAME\|drupal\)/d' $pghba_conf
+       sed -i -e '/^\(host\|local\)/d' $pghba_conf
 
        # Enable passwordless localhost access
        echo "local all all trust" >>$pghba_conf