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
eb136be2
Commit
eb136be2
authored
Dec 23, 2014
by
Charlie Root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small fix for background process pkg_upgrade
parent
a2e63b70
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pkg_upgrade.sh
src/opnsense/scripts/pkg_upgrade.sh
+1
-1
system_firmware_check.php
src/www/system_firmware_check.php
+1
-1
No files found.
src/opnsense/scripts/pkg_upgrade.sh
View file @
eb136be2
...
...
@@ -7,7 +7,7 @@ if [ "$pkg_running" == "" ]; then
rm
/tmp/pkg_upgrade.progress
fi
# start pkg upgrade
pkg upgrade
-y
>
/tmp/pkg_upgrade.progress
&
pkg upgrade
-y
>
/tmp/pkg_upgrade.progress
echo
'***DONE***'
>>
/tmp/pkg_upgrade.progress
else
echo
'Upgrade already in progress'
...
...
src/www/system_firmware_check.php
View file @
eb136be2
...
...
@@ -52,7 +52,7 @@ if($_POST['action'] == 'pkg_upgrade') {
$shell_output
=
array
();
$shell
=
new
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
);
$shell
->
exec
(
"/usr/local/opnsense/scripts/pkg_upgrade.sh
&
"
,
false
,
false
,
$shell_output
);
}
if
(
$_POST
[
'action'
]
==
'update_status'
)
{
...
...
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