blob: ad0926223b5808548a5f6fe92f8b10c0107d6174 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
ORIGPWD=$PWD
TMP=$(mktemp -d)
set -x
set -e
cd $TMP
#wget ftp://ftp.cisco.com/pub/mibs/v2/v2.tar.gz
wget https://www.juniper.net/techpubs/software/junos/junos223/juniper-mibs-22.3R1.12.tar
#tar xvzf v2.tar.gz --strip-components=2
tar xvf juniper-mibs-22.3R1.12.tar
mkdir -p mibs
#mv v2 mibs/CiscoMibs
mv StandardMibs JuniperMibs mibs/
mv mibs ${ORIGPWD}/
cd ${ORIGPWD}
rm -rf ${TMP}
|