diff options
author | max <max@FreeBSD.org> | 1997-01-20 02:27:25 +0000 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-01-20 02:27:25 +0000 |
commit | de8ad2afd14fd6a0335cd52d168b978d29fb864f (patch) | |
tree | 90a8be4f72ca7768645829b8a0fc54e510f46e92 /mail/mailagent/scripts | |
parent | 7405adb2066ebc4daabf070215e678643dd686c6 (diff) | |
download | FreeBSD-ports-de8ad2afd14fd6a0335cd52d168b978d29fb864f.zip FreeBSD-ports-de8ad2afd14fd6a0335cd52d168b978d29fb864f.tar.gz |
Use read -p to get user input instead of echo prompt read var.
Diffstat (limited to 'mail/mailagent/scripts')
-rw-r--r-- | mail/mailagent/scripts/pre-configure | 6 |
1 files 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 |