Remove restrictive shell history control.

pull/686/head
Paul Philippov 2023-03-19 06:59:01 -04:00 committed by GitHub
parent a7d96cc985
commit dd27a07e0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -4,11 +4,6 @@ export HOME=${HOME:-/root}
export TZ=$(cat /etc/TZ)
export SENSOR=$(fw_printenv -n sensor)
export ARCH=$(uname -m)
export HISTFILE=/tmp/.ash_history
export DEBUG=$(($(fw_printenv -n debug)))
[ $DEBUG -ge 1 ] && [ -f "${HISTFILE//tmp/root}" ] && cp ${HISTFILE//tmp/root} /tmp/
[ $DEBUG -ge 2 ] && export HISTFILE=${HISTFILE//tmp/root}
echo_c() { echo -ne "\e[1;$1m$2\e[0m"; }