summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-09 20:55:40 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-09 20:55:40 -0400
commit21588948617effdb4fbf172324a0519242577c3d (patch)
tree9d8e6f0b668fa42038627856cc64a9892a7f84e7 /tmp
parente4225b6fcb7f4d0661f24439b99ee9fb06777dd4 (diff)
downloadpfsense-21588948617effdb4fbf172324a0519242577c3d.zip
pfsense-21588948617effdb4fbf172324a0519242577c3d.tar.gz
Escape command
Diffstat (limited to 'tmp')
-rwxr-xr-xtmp/post_upgrade_command4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command
index f14b270..ae29a50 100755
--- a/tmp/post_upgrade_command
+++ b/tmp/post_upgrade_command
@@ -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
OpenPOWER on IntegriCloud