mirror of
https://github.com/unraid/webgui.git
synced 2026-04-22 10:08:25 -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:
@@ -14,9 +14,6 @@
|
||||
write_log("Saving file $file");
|
||||
exec("mkdir -p ".escapeshellarg(dirname($file)));
|
||||
file_put_contents($file, str_replace(["\r\n","\r"], "\n", $_POST['text']));
|
||||
// syslinux.cfg hack
|
||||
if ($file == "/boot/syslinux/syslinux.cfg")
|
||||
@copy("/boot/syslinux/syslinux.cfg", "/boot/EFI/boot/syslinux.cfg");
|
||||
// discard settings
|
||||
$save = false;
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user