summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-21 16:54:15 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-21 16:54:15 +0000
commit5f89728db811f8af87e1c31bfe917e65409cdb80 (patch)
tree20a3015661ac7904099a8e8620770d0be7360802 /etc/rc.bootup
parentbf4841ff6d263ccc4dd28a4478482a857b18e42a (diff)
downloadpfsense-5f89728db811f8af87e1c31bfe917e65409cdb80.zip
pfsense-5f89728db811f8af87e1c31bfe917e65409cdb80.tar.gz
Move catting of /etc/motd to rc.bootup where we can trim the extra whitespace
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index ad929e6..40a134e 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -38,6 +38,8 @@
$g['booting'] = TRUE;
touch("{$g['varrun_path']}/booting");
+ $motd = trim(return_filename_as_string("/etc/motd"));
+
/* parse the configuration and include all functions used below */
require_once("config.inc");
OpenPOWER on IntegriCloud