reverting
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Thu, 23 Feb 2012 19:34:16 +0000 (14:34 -0500)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Thu, 23 Feb 2012 19:34:16 +0000 (14:34 -0500)
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