#!/bin/sh

#Installer for configfiles.
#
#Made after f*(&@3 up the config of one big fileserver.. :(
#Syntax:
#installconf.sh <examplefile> <destination file>


if [ -f $2 ]; 
 then
  mv $2 $2.bak
  cp $1 $2
 else
  cp $1 $2
 fi

 


syntax highlighted by Code2HTML, v. 0.9.1