summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-07-30 10:35:10 -0300
committerRenato Botelho <renato@netgate.com>2015-07-30 12:21:18 -0300
commit488b975c8b4ff0d33eb2dc8668983ca4c888b334 (patch)
treef0fbf2c82f4414884c84eb9383eff74aed60318c
parent7c38032f065c953c5c61a46204d8bceb02f881d8 (diff)
downloadpfsense-488b975c8b4ff0d33eb2dc8668983ca4c888b334.zip
pfsense-488b975c8b4ff0d33eb2dc8668983ca4c888b334.tar.gz
Change welcome to /dev/null on login.conf and stop removing /etc/motd
-rw-r--r--etc/login.conf2
-rwxr-xr-xetc/rc.firmware3
2 files changed, 1 insertions, 4 deletions
diff --git a/etc/login.conf b/etc/login.conf
index 7d26d3a..1e61a9f 100644
--- a/etc/login.conf
+++ b/etc/login.conf
@@ -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:\
diff --git a/etc/rc.firmware b/etc/rc.firmware
index d7e3009..972ba77 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -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
OpenPOWER on IntegriCloud