head 1.3; access; symbols; locks; strict; comment @# @; 1.3 date 2003.09.02.12.12.55; author rse; state dead; branches; next 1.2; 1.2 date 2003.09.01.15.37.32; author rse; state Exp; branches; next 1.1; 1.1 date 2003.09.01.15.22.41; author rse; state Exp; branches; next ; desc @@ 1.3 log @no more wrapper script needed, because snmpdx now can read from a config file @ text @#!/bin/sh openpkgdir=/cw me="$0" case "$me" in /* ) ;; */* ) me="`pwd`/$me" ;; * ) for p in `echo $PATH | sed -e 's/:/ /g'`; do if [ -x "$p/$me" ]; then me="$p/$me" break fi done ;; esac rootdir=`echo $me | sed -e 's;/[^/]*$;;' | sed -e 's;//*;/;g'` $openpkgdir/bin/perl $rootdir/snmpdx \ -M $rootdir/snmpdx.mib:$openpkgdir/share/snmp/mibs \ -P $rootdir/snmpdx.d \ -l /tmp/snmpdx.log @ 1.2 log @use Perl from same OpenPKG instance @ text @@ 1.1 log @genesis of OSSP snmpdx @ text @d16 2 a17 2 rootdir=`echo $me | sed -e 's;/[^/]*$;;'` $rootdir/snmpdx \ @