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
a42e3b68
Commit
a42e3b68
authored
Jul 12, 2017
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firmware: rather don't use -f, useful for testing but that's done
parent
93072dd8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
rc.firmware.subr
src/etc/rc.firmware.subr
+1
-1
upgrade.sh
src/opnsense/scripts/firmware/upgrade.sh
+1
-1
No files found.
src/etc/rc.firmware.subr
View file @
a42e3b68
...
...
@@ -65,7 +65,7 @@ if [ -z "${RELEASE}" ]; then
else
# upgrade to a major release
${
TEE
}
${
LOCKFILE
}
<
${
PIPEFILE
}
&
if
opnsense-update
-u
f
r
${
RELEASE
}
2>&1
>
${
PIPEFILE
}
;
then
if
opnsense-update
-ur
${
RELEASE
}
2>&1
>
${
PIPEFILE
}
;
then
echo
'***REBOOT***'
>>
${
LOCKFILE
}
sleep
5
/usr/local/etc/rc.reboot
...
...
src/opnsense/scripts/firmware/upgrade.sh
View file @
a42e3b68
...
...
@@ -54,7 +54,7 @@ elif [ "$PACKAGE" == "maj" ]; then
fi
# perform first half of major upgrade
# (download all + kernel install)
if
opnsense-update
-u
f
r
"
${
NAME
}
"
>>
${
PKG_PROGRESS_FILE
}
2>&1
;
then
if
opnsense-update
-ur
"
${
NAME
}
"
>>
${
PKG_PROGRESS_FILE
}
2>&1
;
then
REBOOT
=
1
fi
# second half reboots multiple times,
...
...
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