From da4b7b801a7d425595254198a4123ea00304a46b Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 8 Jan 2010 12:11:09 +0000 Subject: [PATCH] turn off native drupal user registration upon service plc (re)start --- plc.d/db | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plc.d/db b/plc.d/db index 80c4009..1fb2796 100755 --- a/plc.d/db +++ b/plc.d/db @@ -125,9 +125,13 @@ case "$1" in psql -U $PLC_DB_USER -c "UPDATE persons SET email='$PLC_API_MAINTENANCE_USER' WHERE person_id=1" $PLC_DB_NAME # Update the Drupal site_name variable + # also turn off drupal native user registration psql -U $PLC_DB_USER drupal <