Added error handling for invalid command line arguments.
1 parent 8343177 commit a815ba8a11000543c0967a2b34ce0da1b3911310
@root root authored on 16 Feb 2006
Showing 1 changed file
View
6
sysupd
#!/bin/sh
# Update Various System Files, Ports, etc.
# Copyright (c) 2006, TundraWare Inc, Des Plaines, IL USA
# All Rights Reserved
# $Id: sysupd,v 1.105 2006/02/16 16:16:56 toor Exp $
# $Id: sysupd,v 1.106 2006/02/16 17:07:33 root Exp $
 
 
#####
# Where To Put The Various Log Files Generated Here
stable)
runupd $SET $DIRCVS "/usr/local/bin/cvsup -h cvsup5.freebsd.org -g /root/cvsup/$SET-supfile"
;;
 
*)
echo "Invalid sysupd Option Specified!"
;;
 
esac
 
done