Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
146 | f9daq | 1 | if [ $rootdirectory != -1 ]; then |
2 | printenv ROOTSYS > /dev/null |
||
3 | if [ $? != 0 ]; then |
||
4 | echo "Preparing ROOT..." |
||
5 | source $rootdirectory/bin/thisroot.sh |
||
6 | fi |
||
7 | fi |
||
8 | |||
9 | if [ $snmpdirectory != -1 ]; then |
||
10 | printenv PATH | grep "snmp" > /dev/null |
||
11 | if [ $? != 0 ]; then |
||
12 | echo "Preparing NET-SNMP..." |
||
13 | export PATH=$snmpdirectory/bin:$PATH |
||
14 | fi |
||
15 | fi |
||
16 | |||
17 | if [ ! -d results ]; then |
||
18 | mkdir results |
||
19 | fi |
||
20 | |||
21 | ./bin/sipmscan |