]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r279571,281563 (allanjude):
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 13 May 2015 22:36:00 +0000 (22:36 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 13 May 2015 22:36:00 +0000 (22:36 +0000)
commit0ab4d75356a974c6ec8a72e6996852585a2d158e
treec62e9d6cac42a9b8dc61fc8fd0a41120077ffcda
parent87f48a807b04ad8d8997a203ea88aa859e2e43fa
MFC r279571,281563 (allanjude):

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
Relnotes: yes
Sponsored by: ScaleEngine Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@282870 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/freebsd-update/freebsd-update.8
usr.sbin/freebsd-update/freebsd-update.sh