/[fai]/trunk/examples/simple/class/01alias
ViewVC logotype

Contents of /trunk/examples/simple/class/01alias

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2268 - (show annotations) (download)
Sun Jul 4 16:36:20 2004 UTC (8 years, 11 months ago) by lange
File size: 592 byte(s)
remove unused example
1 #! /bin/sh
2
3 catnc() {
4 # cat but no comment lines
5 egrep -v "^#" $1
6 }
7
8 # echo architecture and OS name in upper case. Do NOT remove these two lines
9 uname -s | tr '[:lower:]' '[:upper:]'
10 [ -x "`which dpkg`" ] && dpkg --print-installation-architecture | tr /a-z/ /A-Z/
11
12 # the Beowulf cluster; all nodes except the master node use classes from file class/atoms
13 case $HOSTNAME in
14 atom00) echo "BEOWULF BEOWULF_MASTER NETTOOLS NTP DHCP_SERVER DNS_SERVER";;
15 atom??) catnc atoms ;;
16 esac
17
18 # use a list of classes for our demo machine
19 case $HOSTNAME in
20 demohost)
21 catnc demo ;;
22 esac

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.5