Escape command

This commit is contained in:
Scott Ullrich 2009-08-09 20:55:40 -04:00
parent e4225b6fcb
commit 2158894861

View File

@ -28,11 +28,11 @@ 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
echo "if [ `env | grep SSH_TTY | wc -l` -gt 0 ] || [ `env | grep cons25 | wc -l` -gt 0 ]; then" >> $CVS_CO_DIR/root/.profile
echo "if [ \`env | grep SSH_TTY | wc -l\` -gt 0 ] || [ \`env | grep cons25 | wc -l\` -gt 0 ]; then" >> $CVS_CO_DIR/root/.profile
echo " /etc/rc.initial" >> $CVS_CO_DIR/root/.profile
echo " exit" >> $CVS_CO_DIR/root/.profile
echo "fi" >> $CVS_CO_DIR/root/.profile