mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			Remove restrictive shell history control. (#686)
							parent
							
								
									a7d96cc985
								
							
						
					
					
						commit
						daf50af1f4
					
				|  | @ -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"; } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue