summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-08-03 07:15:38 +0000
committerColin Smith <colin@pfsense.org>2005-08-03 07:15:38 +0000
commit7822d9660ccf2116b3377fefb4c23f680bb648b4 (patch)
tree824a83c4c2d47201e1679693487e01fbc68cf2aa /etc/rc.bootup
parent909d8f12bfb6bcf7497eacc684ebdd16ee4d4109 (diff)
downloadpfsense-7822d9660ccf2116b3377fefb4c23f680bb648b4.zip
pfsense-7822d9660ccf2116b3377fefb4c23f680bb648b4.tar.gz
return_filename_as_string -> file_get_contents
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 1235ec9..214c2cf 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -40,7 +40,7 @@
touch("{$g['varrun_path']}/booting");
if($g['platform'] == "cdrom") {
- $motd = trim(return_filename_as_string("/etc/motd"));
+ $motd = trim(file_get_contents("/etc/motd"));
if(strlen($motd) > 2) echo "\n{$motd}\n\n";
}
OpenPOWER on IntegriCloud