summaryrefslogtreecommitdiffstats
path: root/application/modules/ipxe/views/scripts
diff options
context:
space:
mode:
authormichael pereira2011-07-22 16:36:58 +0200
committermichael pereira2011-07-22 16:36:58 +0200
commit6119d81194d9c03ff7f677e6d7a5220afdeae9e2 (patch)
treeed2c6d35f95e0f00bb4fb8910f241855bf3a2ce4 /application/modules/ipxe/views/scripts
parentneuer kernel (diff)
downloadpbs2-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.phtml7
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.");
}