diff options
author | Michael C . Wu <keichii@FreeBSD.org> | 2002-12-22 04:50:13 +0000 |
---|---|---|
committer | Michael C . Wu <keichii@FreeBSD.org> | 2002-12-22 04:50:13 +0000 |
commit | f98d6d48254307a6559cd2de6f01cce3c1bc7dac (patch) | |
tree | 5ed38d6ed3c06c54cada5fbcb0a2f56ea3848a5c /www/rt3/files/patch-tools-initdb | |
parent | 5d60165419c8958fc5bb1ab2746d7a8333952359 (diff) |
Notes
Diffstat (limited to 'www/rt3/files/patch-tools-initdb')
-rw-r--r-- | www/rt3/files/patch-tools-initdb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/www/rt3/files/patch-tools-initdb b/www/rt3/files/patch-tools-initdb new file mode 100644 index 000000000000..1ee6462ed640 --- /dev/null +++ b/www/rt3/files/patch-tools-initdb @@ -0,0 +1,29 @@ +--- tools/initdb Wed Nov 7 07:06:06 2001 ++++ tools/initdb Thu Aug 15 17:17:19 2002 +@@ -17,7 +17,7 @@ + $SCHEMA_DIR ="etc"; + $SCHEMA_FILE = "$SCHEMA_DIR/schema.pm"; #hmm + +-($DB_TYPE, $DB_HOME, $DB_HOST, $DB_PORT, $DB_DBA, $DB_DATABASE, $ACTION) = @ARGV; ++($DB_TYPE, $DB_HOME, $DB_HOST, $DB_PORT, $DB_DBA, $DB_DATABASE, $DB_DBA_PASSWORD, $ACTION) = @ARGV; + + + if ($DEBUG) { +@@ -71,6 +71,8 @@ + # {{{ sub prompt_for_dba_password + + sub prompt_for_dba_password { ++ return if defined $DB_DBA_PASSWORD; ++ + print "Enter the $DB_TYPE password for $DB_DBA: "; + + system "stty -echo"; +@@ -107,7 +109,7 @@ + If you have an existing RT 2.x installation, this will destroy all your data. + i + END +- exit unless _yesno(); ++ # exit unless _yesno(); + + } + |