diff options
| author | michael pereira | 2011-07-22 16:36:58 +0200 |
|---|---|---|
| committer | michael pereira | 2011-07-22 16:36:58 +0200 |
| commit | 6119d81194d9c03ff7f677e6d7a5220afdeae9e2 (patch) | |
| tree | ed2c6d35f95e0f00bb4fb8910f241855bf3a2ce4 /application/modules/ipxe/views/scripts | |
| parent | neuer kernel (diff) | |
| download | pbs2-6119d81194d9c03ff7f677e6d7a5220afdeae9e2.tar.gz pbs2-6119d81194d9c03ff7f677e6d7a5220afdeae9e2.tar.xz pbs2-6119d81194d9c03ff7f677e6d7a5220afdeae9e2.zip | |
kernel statt chain zum laden des vesamenu im pxe script
Diffstat (limited to 'application/modules/ipxe/views/scripts')
| -rw-r--r-- | application/modules/ipxe/views/scripts/resource/getvesamenu.phtml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml index fed9aa3..3499354 100644 --- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml +++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml @@ -102,7 +102,7 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none title($this->error); } - if ($this->login == 'true' && !authenticated($this->username, $this->password)) { + if ($this->login && !authenticated($this->username, $this->password)) { retry(); } else { @@ -121,10 +121,11 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none "http://$this->host/ipxe/resource/getkernel/alpha/$this->alphaID/bme/".$bme->getID()."/file/kernel", "initrd=http://$this->host/ipxe/resource/getinitramfs/alpha/$this->alphaID/bme/".$bme->getID()."/file/initramfs alpha=$this->alphaID file=http://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend()); } } - uriboot ( "Return to Group Bootmenu", "/ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/123/login/false", "" ); + if($this->login) + uriboot ( "Return to Group Bootmenu", "/ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/123/login/false", "" ); } - if($this->login == 'false'){ + if(!$this->login){ uriboot ( "Login", "http://$this->host/ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/123/login/true", "" ); texthelp("Login to get your own Bootmenu."); } |
