Removed mirror and nessus references.
Updated to use svn instead of csup.
1 parent a677fc8 commit 723ea9f1afbacbf10a29cfdf1cf3b7a9a37ffcf9
@toor toor authored on 18 Nov 2012
Showing 1 changed file
View
44
sysupd
#!/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}"
;;
 
 
###