diff options
-rwxr-xr-x | etc/rc.bootup | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup index 74ecf14..0321082 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -39,8 +39,10 @@ $g['booting'] = TRUE; touch("{$g['varrun_path']}/booting"); - $motd = trim(return_filename_as_string("/etc/motd")); - if(strlen($motd) > 2) echo "\n{$motd}\n\n"; + if($g['platform'] == "cdrom") { + $motd = trim(return_filename_as_string("/etc/motd")); + if(strlen($motd) > 2) echo "\n{$motd}\n\n"; + } /* parse the configuration and include all functions used below */ require_once("config.inc"); |