summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/modules/ipxe/controllers/ResourceController.php8
-rw-r--r--application/modules/ipxe/views/scripts/resource/getvesamenu.phtml6
-rwxr-xr-xpublic/ipxe/cmd.c32bin0 -> 800 bytes
-rwxr-xr-xpublic/ipxe/gpxecmd.c32bin0 -> 2320 bytes
-rwxr-xr-xpublic/ipxe/pbs2.pngbin0 -> 20132 bytes
-rwxr-xr-xpublic/ipxe/pxelinux.0bin0 -> 26442 bytes
-rwxr-xr-xpublic/ipxe/vesamenu.c32bin0 -> 147996 bytes
7 files changed, 13 insertions, 1 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php
index e4a5d5b..3c1ce3a 100644
--- a/application/modules/ipxe/controllers/ResourceController.php
+++ b/application/modules/ipxe/controllers/ResourceController.php
@@ -61,6 +61,14 @@ class Ipxe_ResourceController extends Zend_Controller_Action {
$vesamenuView->host = $_SERVER['HTTP_HOST'];
$vesamenuView->error = $this->_request->getParam('error');
+ if(isset($_SERVER['HTTPS']))
+ {
+ if ($_SERVER['HTTPS'] == 'on')
+ $vesamenuView->ssl = true;
+ else
+ $vesamenuView->ssl = false;
+ }
+
if (isset($this->session)) {
$vesamenuView->alphaID = $this->session->getAlphasessionID();
diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
index 1098789..75b2a4f 100644
--- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
+++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
@@ -79,7 +79,11 @@
PROMPT 0
DEFAULT /ipxe/vesamenu.c32
-MENU BACKGROUND /ipxe/pbs2.png
+<?php if($this->ssl)
+ echo "MENU BACKGROUND /ipxe/pbs2ssl.png\n";
+ else
+ echo "MENU BACKGROUND /ipxe/pbs2.png\n";?>
+
MENU WIDTH 78
MENU MARGIN 9
MENU PASSWORDMARGIN 9
diff --git a/public/ipxe/cmd.c32 b/public/ipxe/cmd.c32
new file mode 100755
index 0000000..36afa3d
--- /dev/null
+++ b/public/ipxe/cmd.c32
Binary files differ
diff --git a/public/ipxe/gpxecmd.c32 b/public/ipxe/gpxecmd.c32
new file mode 100755
index 0000000..4265824
--- /dev/null
+++ b/public/ipxe/gpxecmd.c32
Binary files differ
diff --git a/public/ipxe/pbs2.png b/public/ipxe/pbs2.png
new file mode 100755
index 0000000..602a983
--- /dev/null
+++ b/public/ipxe/pbs2.png
Binary files differ
diff --git a/public/ipxe/pxelinux.0 b/public/ipxe/pxelinux.0
new file mode 100755
index 0000000..3430ff2
--- /dev/null
+++ b/public/ipxe/pxelinux.0
Binary files differ
diff --git a/public/ipxe/vesamenu.c32 b/public/ipxe/vesamenu.c32
new file mode 100755
index 0000000..f348094
--- /dev/null
+++ b/public/ipxe/vesamenu.c32
Binary files differ