x86_64: 切换默认 SHELL 为 bash
This commit is contained in:
parent
5c4b41c16b
commit
d30fe7832a
|
@ -11,3 +11,5 @@
|
||||||
/etc/docker/daemon.json
|
/etc/docker/daemon.json
|
||||||
/root/.config/htop
|
/root/.config/htop
|
||||||
/root/.ssh
|
/root/.ssh
|
||||||
|
/root/.bash_history
|
||||||
|
/root/.bash_profile
|
||||||
|
|
|
@ -37,7 +37,7 @@ getinf() {
|
||||||
temp_color() {
|
temp_color() {
|
||||||
if [ -n "$1" ]
|
if [ -n "$1" ]
|
||||||
then
|
then
|
||||||
if [ $1 -gt 60 ]
|
if [ $1 -gt 55 ]
|
||||||
then
|
then
|
||||||
echo -ne "${Red}WARN ${1}°C${White}"
|
echo -ne "${Red}WARN ${1}°C${White}"
|
||||||
else
|
else
|
||||||
|
@ -73,9 +73,9 @@ export HOME=${HOME:-/root}
|
||||||
export CONFIG=/etc/config
|
export CONFIG=/etc/config
|
||||||
if [ -n "${TARGET_PROFILE}" ]
|
if [ -n "${TARGET_PROFILE}" ]
|
||||||
then
|
then
|
||||||
export PS1='${Yellow}\u@\h(${TARGET_PROFILE})${White}:${Grey}\w${White}\$ '
|
export PS1='\u@\h[${TARGET_PROFILE}]:\w\$ '
|
||||||
else
|
else
|
||||||
export PS1='${Yellow}\u@\h${White}:${Grey}\w${White}\$ '
|
export PS1='\u@\h:\w\$ '
|
||||||
fi
|
fi
|
||||||
export ENV=/etc/shinit
|
export ENV=/etc/shinit
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ then
|
||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias reload='/etc/profile'
|
alias reload='. /etc/profile'
|
||||||
alias coremarkd='/etc/coremark.sh'
|
alias coremarkd='/etc/coremark.sh'
|
||||||
alias shutdown='sync && poweroff'
|
alias shutdown='sync && poweroff'
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
|
|
|
@ -80,6 +80,7 @@ Firmware_Diy() {
|
||||||
rm -rf packages/lean/autocore
|
rm -rf packages/lean/autocore
|
||||||
AddPackage git lean autocore-modify Hyy2001X master
|
AddPackage git lean autocore-modify Hyy2001X master
|
||||||
cat ${CustomFiles}/${TARGET_PROFILE}_kExtra >> ${WORK}/target/linux/x86/config-5.15
|
cat ${CustomFiles}/${TARGET_PROFILE}_kExtra >> ${WORK}/target/linux/x86/config-5.15
|
||||||
|
sed -i -- 's:/bin/ash:'/bin/bash':g' ${BASE_FILES}/etc/passwd
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue