added files
[bcm963xx.git] / userapps / opensource / net-snmp / dist / nsb-platform
1 #!/bin/bash
2 #
3 # $Id: nsb-platform,v 1.2 2002/09/10 19:05:25 rstory Exp $
4 # Author: Robert Story <rstory@freesnmp.com>
5 #
6 ########################################################################
7 ########################################################################
8
9 #
10 # find nsb-platform based on te path to this script
11 #
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
19    source nsb-functions
20 else
21    echo "Cannot find nsb-functions in $EXE_PATH, $HOME/bin or $PWD"
22    exit 1
23 fi
24
25 ########################################################################
26 ########################################################################
27
28 nsb-sysname