chmod 644 ${pg_hba_dir}/pg_hba.conf
# Trying "postgresql" init script...
+ v=0
invoke-rc.d postgresql restart || v=$?
if test x"$v" = x"100"; then
# No "postgresql" init script (for packages << 8.4.4-2)
perl -pi -e "s/$localtrust\n//" ${pg_hba_dir}/pg_hba.conf
# Trying "postgresql" init script...
+ v=0
invoke-rc.d postgresql reload || v=$?
if test x"$v" = x"100"; then
# No "postgresql" init script (for packages << 8.4.4-2)
# Make sure the database accepts connections from these new users
pg_name=postgresql-$pg_version
# Trying "postgresql" init script...
+ v=0
invoke-rc.d postgresql reload || v=$?
if test x"$v" = x"100"; then
# No "postgresql" init script (for packages << 8.4.4-2)
pg_name=postgresql-$pg_version
# Trying "postgresql" init script...
+ v=0
invoke-rc.d postgresql reload || v=$?
if test x"$v" = x"100"; then
# No "postgresql" init script (for packages << 8.4.4-2)