diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-04-01 01:31:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-04-01 01:31:41 +0000 |
commit | e6253b128b1fa902fb1d7c45b1d2c7858588abe2 (patch) | |
tree | 18cd8ac6e99c0fef64c7d7acab3ee45255ec2371 /distrib/mvmeppc/ramdisk | |
parent | a60b8be667856b47ec07250410d8fd8930c3ba88 (diff) |
KNF sh ends up saving space; krw ok
Diffstat (limited to 'distrib/mvmeppc/ramdisk')
-rw-r--r-- | distrib/mvmeppc/ramdisk/dot.profile | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/distrib/mvmeppc/ramdisk/dot.profile b/distrib/mvmeppc/ramdisk/dot.profile index 74492d32a71..6a467939873 100644 --- a/distrib/mvmeppc/ramdisk/dot.profile +++ b/distrib/mvmeppc/ramdisk/dot.profile @@ -1,4 +1,4 @@ -# $OpenBSD: dot.profile,v 1.5 2001/12/05 19:50:46 deraadt Exp $ +# $OpenBSD: dot.profile,v 1.6 2002/04/01 01:31:39 deraadt Exp $ # # Copyright (c) 1994 Christopher G. Demetriou # All rights reserved. @@ -43,27 +43,19 @@ if [ "X${DONEPROFILE}" = "X" ]; then echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T' stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600 - # Installing or upgrading? _forceloop="" while [ "X$_forceloop" = X"" ]; do echo -n '(I)nstall, (U)pgrade or (S)hell? ' read _forceloop case "$_forceloop" in - i*|I*) - /install - ;; - - u*|U*) - /upgrade - ;; - - s*|S*) - ;; - - *) - _forceloop="" - ;; + i*|I*) /install + ;; + u*|U*) /upgrade + ;; + s*|S*) ;; + *) _forceloop="" + ;; esac done fi |