]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r279571,281563 (allanjude):
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 13 May 2015 22:36:52 +0000 (22:36 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 13 May 2015 22:36:52 +0000 (22:36 +0000)
commitfd5a28a80a17ab345cabf26350814ca3b2e349ae
tree3ed85423434ae11e54719147ca92b3b874ea5e89
parent0052c848d92e562c30d03581e1b1f0ca72bd693e
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

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