aboutsummaryrefslogtreecommitdiff
path: root/bin/sh
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2018-08-15 23:18:34 +0000
committerBrad Davis <brd@FreeBSD.org>2018-08-15 23:18:34 +0000
commit3349f8bb8f35b9aa39b01b8ccfd88f4e2e21ebb5 (patch)
treef929de060ce395932d85e5d283353c6d3d7e5a3b /bin/sh
parent799bbc25b9c66ef5b561d9fa63cf3164508c31b4 (diff)
Notes
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/Makefile10
-rw-r--r--bin/sh/dot.profile16
2 files changed, 1 insertions, 25 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index b50e3217e97f..652e9ddc3dbf 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -3,9 +3,7 @@
.include <src.opts.mk>
-CONFS= dot.profile profile
-CONFSDIR_dot.profile= /root
-CONFSNAME_dot.profile= .profile
+CONFS= profile
PACKAGE=runtime
PROG= sh
INSTALLFLAGS= -S
@@ -63,10 +61,4 @@ token.h: mktokens
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
-beforeinstall:
- rm -f ${DESTDIR}/.profile
-
-afterinstallconfig:
- ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}/root/.profile ${DESTDIR}/.profile
-
.include <bsd.prog.mk>
diff --git a/bin/sh/dot.profile b/bin/sh/dot.profile
deleted file mode 100644
index 76ebfd5e6168..000000000000
--- a/bin/sh/dot.profile
+++ /dev/null
@@ -1,16 +0,0 @@
-# $FreeBSD$
-#
-PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:~/bin
-export PATH
-HOME=/root
-export HOME
-TERM=${TERM:-xterm}
-export TERM
-PAGER=less
-export PAGER
-
-# Query terminal size; useful for serial lines.
-if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi
-
-# Uncomment to display a random cookie on each login.
-# if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune -s ; fi