diff options
author | Colin Percival <cperciva@FreeBSD.org> | 2015-10-09 12:34:33 +0000 |
---|---|---|
committer | Colin Percival <cperciva@FreeBSD.org> | 2015-10-09 12:34:33 +0000 |
commit | b39ce43e4ca47756addcd1ad0d49cfc0e7d3bcea (patch) | |
tree | 030c0bb5b23b56f3571413206e2d985ebdd982ac /usr.sbin/freebsd-update/freebsd-update.sh | |
parent | 8d90e66066c374cb73e232ee0312837a8e4f05c4 (diff) | |
download | src-test2-b39ce43e4ca47756addcd1ad0d49cfc0e7d3bcea.tar.gz src-test2-b39ce43e4ca47756addcd1ad0d49cfc0e7d3bcea.zip |
Notes
Diffstat (limited to 'usr.sbin/freebsd-update/freebsd-update.sh')
-rw-r--r-- | usr.sbin/freebsd-update/freebsd-update.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh index 19d519881e79..9fcc01214755 100644 --- a/usr.sbin/freebsd-update/freebsd-update.sh +++ b/usr.sbin/freebsd-update/freebsd-update.sh @@ -52,6 +52,8 @@ Options: (default: root) --not-running-from-cron -- Run without a tty, for use by automated tools + --currently-running release + -- Update as if currently running this release Commands: fetch -- Fetch updates from server cron -- Sleep rand(3600) seconds, fetch updates, and send an @@ -434,6 +436,9 @@ parse_cmdline () { --not-running-from-cron) NOTTYOK=1 ;; + --currently-running) + shift; export UNAME_r="$1" + ;; # Configuration file equivalents -b) |