summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2009-04-25 19:25:30 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2009-04-25 19:25:30 +0000
commit78f5d7ad35bcd3fcc21b5ec33fdbf710a92ff1b4 (patch)
tree17b89a10e419766910faaaea80f2f04b836d2fe7
parent129f45e705f0c09f0545b5f130a37cbd0fd5bf74 (diff)
edit_tmp_file() no longer used, so nuke it.
-rw-r--r--distrib/miniroot/install.sub13
1 files changed, 1 insertions, 12 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index cfb0fe1e01b..2001e4e7de4 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.483 2009/04/25 16:28:40 krw Exp $
+# $OpenBSD: install.sub,v 1.484 2009/04/25 19:25:29 krw Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2007 Todd Miller, Theo de Raadt, Ken Westerback
@@ -452,17 +452,6 @@ bsort() {
bsort $_l
}
-# Offer to edit a file in /tmp and execute ${EDITOR} to do so if the user
-# accepts the offer.
-#
-# $1 == file in /tmp to edit
-edit_tmp_file() {
- local _file=$1
-
- ask_yn "Edit $_file with $EDITOR?"
- [[ $resp == y ]] && $EDITOR /tmp/$_file
-}
-
# Offer to shell out for manual network configuration, and do so if
# the user accepts the offer.
manual_net_cfg() {