summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-01-20 02:27:25 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-01-20 02:27:25 +0000
commitbb941f5603e42502036ee993f6ca232e42b710ac (patch)
tree540cf5c88cbfb48fa38be8bac3ee176a867afee7 /mail
parentcorrected md5 checksum file. The author seems to have changed something (diff)
Use read -p to get user input instead of echo prompt read var.
Notes
Notes: svn path=/head/; revision=5389
Diffstat (limited to 'mail')
-rw-r--r--mail/mailagent/scripts/pre-configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mailagent/scripts/pre-configure b/mail/mailagent/scripts/pre-configure
index 6a5a1be25c9e..a08a67bcb6ba 100644
--- a/mail/mailagent/scripts/pre-configure
+++ b/mail/mailagent/scripts/pre-configure
@@ -6,11 +6,11 @@
# input.
while [ X$addr = X ]; do
- echo -n "Enter your complete E-mail address> " ; read addr
+ read -p "Enter your complete E-mail address> " addr
done
while [ X$host = X ]; do
- echo -n "Enter fully qualified name of this host (`hostname`)> " ; read host
+ read -p "Enter fully qualified name of this host (`hostname`)> " host
if [ X$host = X ]; then
host=`hostname`
fi
@@ -25,7 +25,7 @@ else
hiddennet=$maildomain
fi
-echo -n "Enter the name of your organization> "; read orgname
+read -p "Enter the name of your organization> " orgname
cat >${WRKSRC}/config.sh <<EOM
#!/bin/sh