| | #!/bin/sh |
---|
| | # tconfigfiles - Manage Configuration Files |
---|
| | # Copyright (c) 2007-2013 TundraWare Inc., Des Plaines, IL USA |
---|
| | # All Rights Reserved |
---|
| | # $Id: tconfigfiles,v 1.111 2013/02/13 02:44:04 tundra Exp $ |
---|
| | # $Id: tconfigfiles,v 1.112 2013/02/13 02:50:16 tundra Exp $ |
---|
| | |
---|
| | |
---|
| | ARCHIVES=archives |
---|
| | CFTREE=tree |
---|
| |
---|
| | |
---|
| | "cfbku") # Backup configuration files to tree |
---|
| | for f in $* |
---|
| | do |
---|
| | bkudir=$BASE`pwd`/ |
---|
| | bkudir=$BASE`pwd -P`/ |
---|
| | mkdir -p $bkudir |
---|
| | cp -pvR $f $bkudir |
---|
| | done |
---|
| | ;; |
---|
| |
---|
| | |
---|
| | "cfinstall") # Install configuration files from tree |
---|
| | for f in $* |
---|
| | do |
---|
| | targetdir=`pwd | sed s/$SBASE//` |
---|
| | targetdir=`pwd -P | sed s/$SBASE//` |
---|
| | cp -pvR $f $targetdir |
---|
| | done |
---|
| | ;; |
---|
| | |
---|
| |
---|
| | |