Minor changes
[clearscm.git] / rc / system
1 #!/bin/bash
2 ################################################################################
3 #
4 # File:         $RCSfile: system,v $
5 # Revision:     $Revision: 1.6 $
6 # Description:  System specific settings
7 # Author:       Andrew@DeFaria.com
8 # Created:      Mon Aug 20 17:35:01  2001
9 # Modified:     $Date: 2010/06/11 20:42:23 $
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 # Strip domains
19 SYSNAME=${SYSNAME%%\.*}
20
21 # Set to initial cap
22 SYSNAME=$(echo ${SYSNAME:0:1} | tr [:lower:] [:upper:])$(echo ${SYSNAME:1}   | tr [:upper:] [:lower:])
23
24 # Aliasing
25 case "$SYSNAME" in
26   C02s608vg8wp)
27     SYSNAME="Venus"
28     ;;
29 esac