Initial add of defaria.com
[clearscm.git] / defaria.com / GD / rc / system
1 #!/bin/bash
2 ################################################################################
3 #
4 # File:         $RCSfile: system,v $
5 # Revision:     $Revision: 1.4 $
6 # Description:  System specific settings
7 # Author:       Andrew@DeFaria.com
8 # Created:      Mon Aug 20 17:35:01  2001
9 # Modified:     $Date: 2006/02/03 01:50:00 $
10 # Language:     bash
11 #
12 # (c) Copyright 2000-2005, Andrew@DeFaria.com, all rights reserved.
13 #
14 ################################################################################
15 # This system's name
16 export SYSNAME=$(uname -n)
17
18 # Export DISPLAY and GNU_* stuff
19 case $SYSNAME in
20   *)    
21     export GNU_SECURE=$HOME/.gnuhosts
22     #export GNU_HOST=
23     ;;
24 esac
25
26 # Strip domains
27 SYSNAME=${SYSNAME%%\.*}
28
29 # Set to initial cap
30 SYSNAME=$(echo ${SYSNAME:0:1} | tr [:lower:] [:upper:])$(echo ${SYSNAME:1}   | tr [:upper:] [:lower:])
31
32 # System name aliases 
33 case $SYSNAME in
34   Mirandag)
35     export SYSNAME="Local"
36     ;;
37
38 esac