Overwrite .cshrc and .profile
This commit is contained in:
parent
2158894861
commit
3eb3ac6c73
|
@ -28,7 +28,7 @@ if [ $KERNELTYPE = "UP" ]; then
|
|||
fi
|
||||
|
||||
# Detect interactive logins and display the shell
|
||||
echo "if [ \`env | grep SSH_TTY | wc -l\` -gt 0 ] || [ \`env | grep cons25 | wc -l\` -gt 0 ]; then" >> $CVS_CO_DIR/root/.shrc
|
||||
echo "if [ \`env | grep SSH_TTY | wc -l\` -gt 0 ] || [ \`env | grep cons25 | wc -l\` -gt 0 ]; then" > $CVS_CO_DIR/root/.shrc
|
||||
echo " /etc/rc.initial" >> $CVS_CO_DIR/root/.shrc
|
||||
echo " exit" >> $CVS_CO_DIR/root/.shrc
|
||||
echo "fi" >> $CVS_CO_DIR/root/.shrc
|
||||
|
|
Reference in New Issue