summaryrefslogtreecommitdiffstats
path: root/tmp/post_upgrade_command
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-09 19:48:40 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-09 19:56:05 -0400
commitda5cc675995c90e9e8ea47fe2ae5f671b49c3c08 (patch)
tree1e6c506c68351ff30ae9190f2aec2d8a4e83de12 /tmp/post_upgrade_command
parent4ef2d7035ad78473dee6c2a64fb460bc15bc2764 (diff)
downloadpfsense-da5cc675995c90e9e8ea47fe2ae5f671b49c3c08.zip
pfsense-da5cc675995c90e9e8ea47fe2ae5f671b49c3c08.tar.gz
Backout last commit, need to figure out the console angle as well
Diffstat (limited to 'tmp/post_upgrade_command')
-rwxr-xr-xtmp/post_upgrade_command10
1 files changed, 0 insertions, 10 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command
index 08c6ac6..48b3f59 100755
--- a/tmp/post_upgrade_command
+++ b/tmp/post_upgrade_command
@@ -27,16 +27,6 @@ if [ $KERNELTYPE = "UP" ]; then
fi
fi
-# Detect interactive logins and display the shell
-echo "if [ `env | grep SSH_TTY | 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 ]; 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
-
# Now turn on or off serial console as needed
php -f /tmp/post_upgrade_command.php
OpenPOWER on IntegriCloud