mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
firmware: pkgs was still unknown
This commit is contained in:
parent
98b65dd8a0
commit
cf25dd91cb
@ -114,10 +114,7 @@ function plugins_disk_get()
|
||||
|
||||
foreach (glob('/usr/local/opnsense/version/*') as $name) {
|
||||
$filename = basename($name);
|
||||
if (strpos($filename, 'base') === 0) {
|
||||
continue;
|
||||
}
|
||||
if (strpos($filename, 'kernel') === 0) {
|
||||
if ($filename == 'base' || $filename == 'kernel' || $filename == 'pkgs') {
|
||||
continue;
|
||||
}
|
||||
$ret = json_decode(@file_get_contents($name), true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user