diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-10-21 15:58:22 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-10-21 15:58:22 +0200 |
commit | 86efa49eec74c114b023d532b3e953017a99b9ee (patch) | |
tree | 12ac393b97cc15e908db5308094df9f9914e44a1 /build/oracle | |
parent | c0c77f312bebfb274fd919d49d6f3f4ebd50f746 (diff) |
Add extra explanations for certain Oracle parameters
Also default to the odb_user password if the user is odb_user. This
seems to be a common idiom since Oracle doesn't support no-password
logins.
Diffstat (limited to 'build/oracle')
-rwxr-xr-x | build/oracle/configure | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/build/oracle/configure b/build/oracle/configure index 46e5061..6e59a3d 100755 --- a/build/oracle/configure +++ b/build/oracle/configure @@ -25,23 +25,33 @@ $echo $echo "Please enter the Oracle database password." $echo -passwd=`read_value ""` +# If the user is odb_test then default to odb_test as a password since +# it is unlikely there is the odb_test user with external authentication. +# +if [ "$user" = "odb_test" ]; then + def_passwd=odb_test +else + def_passwd= +fi + +passwd=`read_value "$def_passwd"` $echo -$echo "Please enter the Oracle listener host." +$echo "Please enter the Oracle listener host (localhost if left empty)." $echo host=`read_value ""` $echo -$echo "Please enter the Oracle listener port." +$echo "Please enter the Oracle listener port (default port if left empty)." $echo port=`read_value ""` $echo -$echo "Please enter the Oracle service to use. Note that the associated" -$echo "database WILL BE MODIFIED." +$echo "Please enter the Oracle service to use (default service if left" +$echo "empty). Note that the database associated with user $user on this" +$echo "service WILL BE MODIFIED." $echo service=`read_value ""` |