bash: Fix startfiles.

Sanitize PATH variable and fix wrong path to hostname command.
This commit is contained in:
Michael Tremer
2012-11-13 22:27:49 +01:00
parent 68afc6675d
commit 7a6448326f
4 changed files with 45 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ else
pathmunge /usr/sbin after
fi
HOSTNAME=`/usr/bin/hostname 2>/dev/null`
HOSTNAME=`/bin/hostname 2>/dev/null`
HISTSIZE=1000
if [ "$HISTCONTROL" = "ignorespace" ] ; then
export HISTCONTROL=ignoreboth