3 # $Id: nsb-platform,v 1.2 2002/09/10 19:05:25 rstory Exp $
4 # Author: Robert Story <rstory@freesnmp.com>
6 ########################################################################
7 ########################################################################
10 # find nsb-platform based on te path to this script
12 EXE_PATH=${0%nsb-platform}
13 EXE_PATH=${EXE_PATH%/}
14 if [ -f $EXE_PATH/nsb-functions ];then
15 source $EXE_PATH/nsb-functions
16 elif [ -f $HOME/bin/nsb-functions ]; then
17 source $HOME/bin/nsb-functions
18 elif [ -f nsb-functions ];then
21 echo "Cannot find nsb-functions in $EXE_PATH, $HOME/bin or $PWD"
25 ########################################################################
26 ########################################################################