diff options
author | Simon Rettberg | 2018-11-23 13:20:19 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-11-23 13:20:19 +0100 |
commit | 8882cfc967e2874f57bb70cd55179fed624e0461 (patch) | |
tree | e66500215d7e2a963b0b1cd749d7e5275d99a989 /modules-available/serversetup-bwlp | |
parent | [serversetup-bwlp] Add de translations (diff) | |
download | slx-admin-8882cfc967e2874f57bb70cd55179fed624e0461.tar.gz slx-admin-8882cfc967e2874f57bb70cd55179fed624e0461.tar.xz slx-admin-8882cfc967e2874f57bb70cd55179fed624e0461.zip |
[serversetup-bwlp] Fix adding boot entry of type exec
Diffstat (limited to 'modules-available/serversetup-bwlp')
-rw-r--r-- | modules-available/serversetup-bwlp/page.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp/page.inc.php b/modules-available/serversetup-bwlp/page.inc.php index 18ad396a..8cd20c75 100644 --- a/modules-available/serversetup-bwlp/page.inc.php +++ b/modules-available/serversetup-bwlp/page.inc.php @@ -335,6 +335,10 @@ class Page_ServerSetup extends Page if ($id === false) { $params['exec_checked'] = 'checked'; $params['entryid'] = 'u-' . dechex(mt_rand(0x1000, 0xffff)) . '-' . dechex(time()); + $params['entries'] = [ + ['mode' => 'PCBIOS'], + ['mode' => 'EFI'], + ]; } else { // Query existing entry $row = Database::queryFirst('SELECT entryid, title, builtin, data FROM serversetup_bootentry |