mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 02:42:58 +02:00
bash: Fix startfiles.
Sanitize PATH variable and fix wrong path to hostname command.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user