mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 02:58:57 -05:00
Undo previous change of updating both syslinux/syslinux.cfg and EFI/boot/syslinux.cfg.
Instead now EFI/boot/syslinux.cfg consists of a single line: include /syslinux/syslinux.cfg Hence only need to maintain single copy.
This commit is contained in:
@@ -388,7 +388,6 @@ switch ($action) {
|
||||
if ($boolModded) {
|
||||
// Write Changes to syslinux.cfg
|
||||
file_put_contents('/boot/syslinux/syslinux.cfg', implode('', $arrSyslinuxCfg));
|
||||
@copy('/boot/syslinux/syslinux.cfg', '/boot/EFI/boot/syslinux.cfg');
|
||||
}
|
||||
|
||||
$arrResponse = ['success' => true, 'modified' => $boolModded];
|
||||
@@ -412,7 +411,6 @@ switch ($action) {
|
||||
if ($boolModded) {
|
||||
// Write Changes to syslinux.cfg
|
||||
file_put_contents('/boot/syslinux/syslinux.cfg', implode('', $arrSyslinuxCfg));
|
||||
@copy('/boot/syslinux/syslinux.cfg', '/boot/EFI/boot/syslinux.cfg');
|
||||
}
|
||||
|
||||
$arrResponse = ['success' => true, 'modified' => $boolModded];
|
||||
|
||||
Reference in New Issue
Block a user