| | #!/bin/sh |
---|
| | # Update Various System Files, Ports, etc. |
---|
| | # Copyright (c) 2006-2010, TundraWare Inc, Des Plaines, IL USA |
---|
| | # All Rights Reserved |
---|
| | # $Id: sysupd,v 1.128 2010/11/18 16:39:53 toor Exp $ |
---|
| | # $Id: sysupd,v 1.129 2012/11/18 14:42:06 toor Exp $ |
---|
| | |
---|
| | |
---|
| | ##### |
---|
| | # Where To Put The Various Log Files Generated Here |
---|
| |
---|
| | ##### |
---|
| | # List Of Sets To Process By Default |
---|
| | ##### |
---|
| | |
---|
| | DEFAULTSETS='doc mirror ports stable texlive' |
---|
| | DEFAULTSETS='doc ports src texlive' |
---|
| | |
---|
| | |
---|
| | |
---|
| | # ---------------- Support Functions ---------------- # |
---|
| |
---|
| | ### |
---|
| | # CVSUP Updates |
---|
| | ### |
---|
| | |
---|
| | doc | ports | stable) |
---|
| | runupd $SET $LOGDIR "/usr/bin/csup -h cvsup5.freebsd.org /root/cvsup/$SET-supfile" |
---|
| | ;; |
---|
| | |
---|
| | |
---|
| | ### |
---|
| | # Update Mirrored FreeBSD Files |
---|
| | ### |
---|
| | |
---|
| | mirror) |
---|
| | runupd $SET $LOGDIR "/root/bin/mirror-freebsd" |
---|
| | ;; |
---|
| | |
---|
| | |
---|
| | ### |
---|
| | # Update The Nessus Plugins |
---|
| | ### |
---|
| | |
---|
| | nessus) |
---|
| | runupd $SET $LOGDIR "/usr/local/sbin/nessus-update-plugins" |
---|
| | doc | ports | src) |
---|
| | runupd $SET $LOGDIR "/usr/local/bin/svn update /usr/${SET}" |
---|
| | ;; |
---|
| | |
---|
| | |
---|
| | ### |
---|
| |
---|
| | |