summaryrefslogtreecommitdiff
path: root/distrib/arm32/floppies
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-10-20 22:24:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-10-20 22:24:25 +0000
commit1a0e3627fa9197ee606e43baf674856c0e6c167f (patch)
tree0b43218edaa3c0ec06353c2e3dfa4c5ec293e844 /distrib/arm32/floppies
parente227041f27f974aec1a691f057f2adda16559be1 (diff)
Enable history and emacs-stye command editing. A lot of this stuff
is not used but who knows what...
Diffstat (limited to 'distrib/arm32/floppies')
-rw-r--r--distrib/arm32/floppies/inst/dot.profile11
-rw-r--r--distrib/arm32/floppies/upgr/dot.profile9
2 files changed, 11 insertions, 9 deletions
diff --git a/distrib/arm32/floppies/inst/dot.profile b/distrib/arm32/floppies/inst/dot.profile
index a1944936935..cf169985719 100644
--- a/distrib/arm32/floppies/inst/dot.profile
+++ b/distrib/arm32/floppies/inst/dot.profile
@@ -27,15 +27,16 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# $Id: dot.profile,v 1.1 1996/09/05 21:26:18 deraadt Exp $
+# $Id: dot.profile,v 1.2 1997/10/20 22:24:16 millert Exp $
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=vt100
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=vt100
umask 022
+set -o emacs # emacs-style command line editing
+
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
diff --git a/distrib/arm32/floppies/upgr/dot.profile b/distrib/arm32/floppies/upgr/dot.profile
index b57227cf8bd..97edc253ee3 100644
--- a/distrib/arm32/floppies/upgr/dot.profile
+++ b/distrib/arm32/floppies/upgr/dot.profile
@@ -29,13 +29,14 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=vt100
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=vt100
umask 022
+set -o emacs # emacs-style command line editing
+
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES