mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Backout last commit, need to figure out the console angle as well
This commit is contained in:
parent
4ef2d7035a
commit
da5cc67599
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user