Change welcome to /dev/null on login.conf and stop removing /etc/motd

This commit is contained in:
Renato Botelho 2015-07-30 10:35:10 -03:00
parent 7c38032f06
commit 488b975c8b
2 changed files with 1 additions and 4 deletions

View File

@ -20,7 +20,7 @@
default:\
:passwd_format=md5:\
:copyright=/etc/COPYRIGHT:\
:welcome=/etc/motd:\
:welcome=/dev/null:\
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
:path=/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin ~/bin:\
:nologin=/var/run/nologin:\

View File

@ -357,7 +357,6 @@ pfSenseNanoBSDupgrade)
echo "" >> /conf/fdisk_upgrade_log.txt
# Remove extra stuff
rm -rf /etc/motd
rm -rf /usr/savecore/*
date >> /conf/upgrade_log.txt
@ -487,7 +486,6 @@ pfSenseupgrade)
# remove unused files
rm -rf /etc/rc.conf
rm -rf /etc/motd
rm -rf /usr/savecore/*
date >> /conf/upgrade_log.txt
@ -525,7 +523,6 @@ delta_update)
binary_update $IMG
restore_chflags
rm -rf /etc/rc.conf
rm -rf /etc/motd
find / -name CVS -type d -exec rm {} \;
rm -rf /usr/savecore/*
/etc/rc.conf_mount_ro