Menu="About" Title="Update OS" Icon="icon-update" Tag="upload" --- $version = $branch = $date = _('unknown'); $bzroot = file_exists('/boot/previous/bzroot'); $check = $notify['unraidos'] ? 0 : 1; $changes = '/boot/previous/changes.txt'; $zip = htmlspecialchars(str_replace(' ','_',strtolower($var['NAME']))); if (file_exists($changes)) { exec("head -n4 $changes",$rows); foreach ($rows as $row) { $i = stripos($row,'version'); if ($i !== false) { [$version,$date] = explode(' ',trim(substr($row,$i+7))); break; } } $branch = strpos($version,'rc')!==false ? _('Next') : (strpos($version,'beta')!==false ? _('Beta') : _('Stable')); } $reboot = preg_match("/^\*\*(REBOOT REQUIRED|DOWNGRADE)/",@file_get_contents("$docroot/plugins/unRAIDServer/README.md",false,null,0,20)); ?>
| _(Component)_ | _(Author)_ | _(Version)_ | _(Status)_ | _(Branch)_ | |
|---|---|---|---|---|---|
![]() | _(Unraid OS)_ (_(previous)_) | LimeTech | =$version?> | =$branch?> | |