From de8ad2afd14fd6a0335cd52d168b978d29fb864f Mon Sep 17 00:00:00 2001
From: max <max@FreeBSD.org>
Date: Mon, 20 Jan 1997 02:27:25 +0000
Subject: Use read -p to get user input instead of echo prompt read var.

---
 mail/mailagent/scripts/pre-configure | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mail/mailagent/scripts/pre-configure b/mail/mailagent/scripts/pre-configure
index 6a5a1be..a08a67b 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
-- 
cgit v1.1