Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
f94692c4
Commit
f94692c4
authored
Dec 29, 2014
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix moved Core/Shell module
parent
3de21e1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
system_firmware_check.php
src/www/system_firmware_check.php
+2
-2
system_information.widget.php
src/www/widgets/widgets/system_information.widget.php
+1
-1
No files found.
src/www/system_firmware_check.php
View file @
f94692c4
...
...
@@ -42,7 +42,7 @@ $pkg_status = array();
if
(
$_POST
[
'action'
]
==
'pkg_update'
)
{
/* Setup Shell variables */
$shell_output
=
array
();
$shell
=
new
Core\Shell
();
$shell
=
new
OPNsense\
Core\Shell
();
// execute shell command and collect (only valid) info into named array
$shell
->
exec
(
"/usr/local/opnsense/scripts/pkg_updatecheck.sh"
,
false
,
false
,
$shell_output
);
}
...
...
@@ -50,7 +50,7 @@ if($_POST['action'] == 'pkg_update') {
if
(
$_POST
[
'action'
]
==
'pkg_upgrade'
)
{
/* Setup Shell variables */
$shell_output
=
array
();
$shell
=
new
Core\Shell
();
$shell
=
new
OPsense\
Core\Shell
();
// execute shell command and collect (only valid) info into named array
$shell
->
exec
(
"/usr/local/opnsense/scripts/pkg_upgrade.sh&"
,
false
,
false
,
$shell_output
);
}
...
...
src/www/widgets/widgets/system_information.widget.php
View file @
f94692c4
...
...
@@ -39,7 +39,7 @@ $file_pkg_status="/tmp/pkg_status.json";
if
(
$_POST
[
'action'
]
==
'pkg_update'
)
{
/* Setup Shell variables */
$shell_output
=
array
();
$shell
=
new
Core\Shell
();
$shell
=
new
OPNsense\
Core\Shell
();
// execute shell command and collect (only valid) info into named array
$shell
->
exec
(
"/usr/local/opnsense/scripts/pkg_updatecheck.sh"
,
false
,
false
,
$shell_output
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment