#!/bin/bash # # $Id: nsb-platform,v 1.2 2002/09/10 19:05:25 rstory Exp $ # Author: Robert Story # ######################################################################## ######################################################################## # # find nsb-platform based on te path to this script # EXE_PATH=${0%nsb-platform} EXE_PATH=${EXE_PATH%/} if [ -f $EXE_PATH/nsb-functions ];then source $EXE_PATH/nsb-functions elif [ -f $HOME/bin/nsb-functions ]; then source $HOME/bin/nsb-functions elif [ -f nsb-functions ];then source nsb-functions else echo "Cannot find nsb-functions in $EXE_PATH, $HOME/bin or $PWD" exit 1 fi ######################################################################## ######################################################################## nsb-sysname