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
0b15d1b6
Commit
0b15d1b6
authored
Apr 12, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firmware: disable kernel/base update for now #137
parent
4dba7e56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
pkg_upgrade.sh
src/opnsense/scripts/pkg_upgrade.sh
+8
-3
No files found.
src/opnsense/scripts/pkg_upgrade.sh
View file @
0b15d1b6
...
...
@@ -46,9 +46,14 @@ if [ -z "$pkg_running" ]; then
/usr/local/etc/rc.restart_webgui
>>
${
PKG_PROGRESS_FILE
}
# if we can update base, we'll do that as well
if
opnsense-update
-c
;
then
if
opnsense-update
>>
${
PKG_PROGRESS_FILE
}
;
then
REBOOT
=
1
fi
echo
"!!!!!!!!!!!! ATTENTION !!!!!!!!!!!"
>>
${
PKG_PROGRESS_FILE
}
echo
"A kernel/base upgrade is required."
>>
${
PKG_PROGRESS_FILE
}
echo
"Please trigger a firmware upgrade"
>>
${
PKG_PROGRESS_FILE
}
echo
"via root console menu option '12'."
>>
${
PKG_PROGRESS_FILE
}
echo
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
>>
${
PKG_PROGRESS_FILE
}
#if opnsense-update >> ${PKG_PROGRESS_FILE}; then
# REBOOT=1
#fi
fi
elif
[
"
$package
"
==
"pkg"
]
;
then
pkg upgrade
-y
$package
>>
${
PKG_PROGRESS_FILE
}
...
...
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