diff --git a/tconfigfiles b/tconfigfiles index 3e3c373..5bad114 100755 --- a/tconfigfiles +++ b/tconfigfiles @@ -2,7 +2,7 @@ # tconfigfiles - Manage Configuration Files # Copyright (c) 2007 TundraWare Inc., Des Plaines, IL USA # All Rights Reserved -# $Id: tconfigfiles,v 1.105 2007/08/04 07:27:15 root Exp $ +# $Id: tconfigfiles,v 1.106 2007/08/04 07:28:31 root Exp $ ARCHIVES=configarchives @@ -11,9 +11,11 @@ BASE=`echo $SBASE | sed s/\\\\\\\\//g` CMD=`basename $0` + case $CMD in + "cfarchive") # Make archival copy of current tree timestamp=`date "+%Y-%m-%d-%H:%M:%S"` cd $BASE/../ @@ -23,6 +25,7 @@ rm -rf $archdir ;; + "cfbku") # Backup configuration files to tree for f in $* do @@ -47,4 +50,5 @@ exit 1 ;; + esac