Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change iPXEs shell default background color (black to blue)
2013-01-19, 11:43 (This post was last modified: 2013-01-19 13:04 by Torgeir.)
Post: #3
RE: Change iPXEs shell default background color (black to blue)
Hi!

Since I use php, I will just post my php code...
(problably dont need the "set" code inside the loop Wink )
PHP Code:
<?php

echo "#!ipxe \n";
header "Content-type: text/plain" );

echo 
"prompt press any key for blue screen \n";
echo 
bluescreen();
echo 
"prompt screen is now blue (press any key to reload \n";
echo 
"chain -ar http://192.168.2.29/first.stage.php \n";

function 
bluescreen()
{
    echo 
'set esc:hex 1b' "\n";
    echo 
'set blue ${esc:string}[44m' "\n";
    echo 
'echo ${blue}' "\n";
    for (
$i=0$i 25$i++) { 
        echo 
"echo \n";
    }
}
?>

Torgeir
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Change iPXEs shell default background color (black to blue) - Torgeir - 2013-01-19 11:43



User(s) browsing this thread: 1 Guest(s)