mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Change welcome to /dev/null on login.conf and stop removing /etc/motd
This commit is contained in:
parent
7c38032f06
commit
488b975c8b
@ -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:\
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user