]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a new safetly belt to freebsd-update to prevent a user doing a minor update ...
authorAllan Jude <allanjude@FreeBSD.org>
Tue, 3 Mar 2015 23:20:18 +0000 (23:20 +0000)
committerAllan Jude <allanjude@FreeBSD.org>
Tue, 3 Mar 2015 23:20:18 +0000 (23:20 +0000)
commit8935f2425141e6db765e60402112b519f20358b5
tree4020f25a655e7063953c19432cffa901496a7606
parent5090c893b72d26193d4d4c923efe3affafbb3f4b
Add a new safetly belt to freebsd-update to prevent a user doing a minor update (-pX) while having an unfinished major upgrade (9.x to 9.y)
Safetly belt can be disabled with the -F flag

Additionally, add the --not-running-from-cron flag they bypasses the TTY requirement, and allows freebsd-update to be invoked by orchestration frameworks, scripts, or otherwise.

PR: 196760
Differential Revision: https://reviews.freebsd.org/D1550
Reviewed by: cperciva, delphij
Approved by: bcr (mentor), rodrigc (src)
MFC after: 1 month
Relnotes: yes
Sponsored by: ScaleEngine Inc.
usr.sbin/freebsd-update/freebsd-update.8
usr.sbin/freebsd-update/freebsd-update.sh