diff options
| author | michael pereira | 2011-09-27 12:35:22 +0200 |
|---|---|---|
| committer | michael pereira | 2011-09-27 12:35:22 +0200 |
| commit | 758f676168c6662e4dd4083c3dc2c7cda81f7964 (patch) | |
| tree | 627b60f7b793d21b26e7eeaa030e124b244d98e6 /application/modules/ipxe | |
| parent | vesamenu (diff) | |
| download | pbs2-758f676168c6662e4dd4083c3dc2c7cda81f7964.tar.gz pbs2-758f676168c6662e4dd4083c3dc2c7cda81f7964.tar.xz pbs2-758f676168c6662e4dd4083c3dc2c7cda81f7964.zip | |
vesamenu
Diffstat (limited to 'application/modules/ipxe')
| -rw-r--r-- | application/modules/ipxe/controllers/AuthController.php | 11 | ||||
| -rw-r--r-- | application/modules/ipxe/views/scripts/resource/getvesamenu.phtml | 5 |
2 files changed, 14 insertions, 2 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php index 4f13feb..12cdbc0 100644 --- a/application/modules/ipxe/controllers/AuthController.php +++ b/application/modules/ipxe/controllers/AuthController.php @@ -222,6 +222,17 @@ class Ipxe_AuthController extends Zend_Controller_Action // $this->_redirect('/ipxe/resource/getvesamenuconfig/alpha/'.$alpha.'/error/'.$this->error); } + public function localbootAction(){ + + header('Content-Type: text/plain'); + + $result = ".LOCALBOOT -1"; + + header("Content-Length: ".(strlen($result))); + + echo $result; + + } diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml index c97b597..2d187ac 100644 --- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml +++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml @@ -30,8 +30,9 @@ } function localboot () { - label ( "LOCALBOOT"); - echo "LOCALBOOT -1\n"; + //label ( "LOCALBOOT"); + //echo "LOCALBOOT -1\n"; + uriboot ( "LOCALBOOT", "/ipxe/auth/localboot", "" ); texthelp("Gets you out of here by booting from next device in BIOS boot order."); } |
