mirror of
https://github.com/unraid/webgui.git
synced 2026-04-26 04:11:12 -05:00
Syslinux config: basic and advanced mode
This commit is contained in:
@@ -19,7 +19,7 @@ Tag="edit"
|
||||
|
||||
<?
|
||||
function strip($area) {
|
||||
return preg_replace(["/^ /","/\n /","/\n$/"],["","\n",""],$area);
|
||||
return preg_replace(["/^|(\n) /","/\n$/"],["$1",""],$area);
|
||||
}
|
||||
$file = '/boot/syslinux/syslinux.cfg';
|
||||
$menu = file_get_contents($file);
|
||||
|
||||
Reference in New Issue
Block a user