summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-21 17:17:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-21 17:17:31 +0000
commitad7dc9ddd7e5d1db80affd8e055754c0059ecd0d (patch)
treea99d2840adf85934527577c6089652caf6e802ea /etc/rc.bootup
parent9eb4ec605ac2e21df10d7ee0de6b970f64ba96d4 (diff)
downloadpfsense-ad7dc9ddd7e5d1db80affd8e055754c0059ecd0d.zip
pfsense-ad7dc9ddd7e5d1db80affd8e055754c0059ecd0d.tar.gz
If motd greater than 2 chars, echo motd
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index f71e8c9..436208a 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -40,6 +40,7 @@
touch("{$g['varrun_path']}/booting");
$motd = trim(return_filename_as_string("/etc/motd"));
+ if(strlen($motd) > 2) echo $motd;
/* parse the configuration and include all functions used below */
require_once("config.inc");
OpenPOWER on IntegriCloud