summaryrefslogtreecommitdiffstats
path: root/tmp/post_upgrade_command
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-09 21:03:59 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-09 21:03:59 -0400
commit778b080b9f9fc68ebf28b2bacb40629b63c73bf0 (patch)
tree0cc31f94d84d208441e8000202585152714f37d5 /tmp/post_upgrade_command
parent5e9cb18928480a63c897da53e20b602a24aa68f2 (diff)
downloadpfsense-778b080b9f9fc68ebf28b2bacb40629b63c73bf0.zip
pfsense-778b080b9f9fc68ebf28b2bacb40629b63c73bf0.tar.gz
Overwrite .cshrc and .profile
Diffstat (limited to 'tmp/post_upgrade_command')
-rwxr-xr-xtmp/post_upgrade_command2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command
index ae29a50..a2fb94e 100755
--- a/tmp/post_upgrade_command
+++ b/tmp/post_upgrade_command
@@ -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
OpenPOWER on IntegriCloud