diff options
author | Simon Rettberg | 2019-02-28 11:05:28 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-02-28 11:05:28 +0100 |
commit | 58649d782d72f3c9bf90950b69590c3ae88ad994 (patch) | |
tree | 2cf39d1c65efd548a0462227cf450be0dba68361 /modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php | |
parent | [dozmod] netrules: Edit set of rules, not single rules (diff) | |
download | slx-admin-58649d782d72f3c9bf90950b69590c3ae88ad994.tar.gz slx-admin-58649d782d72f3c9bf90950b69590c3ae88ad994.tar.xz slx-admin-58649d782d72f3c9bf90950b69590c3ae88ad994.zip |
[serversetup-bwlp-ipxe] Change bwlp-default; add splash screen
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php index d34839f0..4320bb82 100644 --- a/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php @@ -42,7 +42,7 @@ class IPxe if (isset($menus[$key])) { $menuId = $menus[$key]; $defId = null; - // Figure out the default label, get it's label name + // Figure out the default label, get its label name foreach ($menu->sections as $section) { if ($section->isDefault) { $defId = $section; @@ -270,17 +270,13 @@ class IPxe VALUES (:entryid, :hotkey, :title, 1, :data)'; Database::exec($query, [ - 'entryid' => 'bwlp-default', - 'hotkey' => 'B', - 'title' => 'bwLehrpool-Umgebung starten', - 'data' => json_encode([ - 'executable' => '/boot/default/kernel', - 'initRd' => '/boot/default/initramfs-stage31', - 'commandLine' => 'slxbase=boot/default quiet splash loglevel=5 rd.systemd.show_status=auto intel_iommu=igfx_off ${ipappend1} ${ipappend2}', - 'replace' => true, - 'autoUnload' => true, - 'resetConsole' => true, - ]), + 'script' => ' +imgfree || +set slxextra ,logo || +initrd /boot/default/initramfs-stage31 || goto fail +initrd --name logo /tftp/bwlp.ppm.gz /etc/splash.ppm.gz || clear slxextra +boot -a -r /boot/default/kernel initrd=initramfs-stage31${slxextra} slxbase=boot/default quiet splash loglevel=5 rd.systemd.show_status=auto intel_iommu=igfx_off ${ipappend1} ${ipappend2} || goto fail +', ]); Database::exec($query, [ |