Subversion Repositories uuid_mac_utils

Rev

Rev 2 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 18
Line 8... Line 8...
8
        echo "Order Deny,Allow" > "$DIR"/web-data/.htaccess
8
        echo "Order Deny,Allow" > "$DIR"/web-data/.htaccess
9
        echo "Deny From All" >> "$DIR"/web-data/.htaccess
9
        echo "Deny From All" >> "$DIR"/web-data/.htaccess
10
fi
10
fi
11
 
11
 
12
# Note: The Individual Address Block (IAB) is an inactive registry activity, which has been replaced by the MA-S registry product as of January 1, 2014.
12
# Note: The Individual Address Block (IAB) is an inactive registry activity, which has been replaced by the MA-S registry product as of January 1, 2014.
13
wget http://standards.ieee.org/develop/regauth/iab/iab.txt -O "$DIR"/web-data/iab.txt
13
wget https://standards-oui.ieee.org/iab/iab.txt -O "$DIR"/web-data/iab.txt
14
if [ $? -ne 0 ]; then
14
if [ $? -ne 0 ]; then
15
        sleep 300
15
        sleep 300
16
        wget http://standards.ieee.org/develop/regauth/iab/iab.txt -O "$DIR"/web-data/iab.txt
16
        wget https://standards-oui.ieee.org/iab/iab.txt -O "$DIR"/web-data/iab.txt
17
fi
17
fi
18
 
18
 
19
wget http://standards.ieee.org/develop/regauth/oui/oui.txt -O "$DIR"/web-data/oui.txt
19
wget https://standards-oui.ieee.org/oui/oui.txt -O "$DIR"/web-data/oui.txt
20
if [ $? -ne 0 ]; then
20
if [ $? -ne 0 ]; then
21
        sleep 300
21
        sleep 300
22
        wget http://standards.ieee.org/develop/regauth/oui/oui.txt -O "$DIR"/web-data/oui.txt
22
        wget https://standards-oui.ieee.org/oui/oui.txt -O "$DIR"/web-data/oui.txt
23
fi
23
fi
24
 
24
 
25
wget http://standards.ieee.org/develop/regauth/oui28/mam.txt -O "$DIR"/web-data/mam.txt
25
wget https://standards-oui.ieee.org/oui28/mam.txt -O "$DIR"/web-data/mam.txt
26
if [ $? -ne 0 ]; then
26
if [ $? -ne 0 ]; then
27
        sleep 300
27
        sleep 300
28
        wget http://standards.ieee.org/develop/regauth/oui28/mam.txt -O "$DIR"/web-data/mam.txt
28
        wget https://standards-oui.ieee.org/oui28/mam.txt -O "$DIR"/web-data/mam.txt
29
fi
29
fi
30
 
30
 
31
wget http://standards.ieee.org/develop/regauth/oui36/oui36.txt -O "$DIR"/web-data/oui36.txt
31
wget https://standards-oui.ieee.org/oui36/oui36.txt -O "$DIR"/web-data/oui36.txt
32
if [ $? -ne 0 ]; then
32
if [ $? -ne 0 ]; then
33
        sleep 300
33
        sleep 300
34
        wget http://standards.ieee.org/develop/regauth/oui36/oui36.txt -O "$DIR"/web-data/oui36.txt
34
        wget https://standards-oui.ieee.org/oui36/oui36.txt -O "$DIR"/web-data/oui36.txt
-
 
35
fi
-
 
36
 
-
 
37
wget https://standards-oui.ieee.org/cid/cid.txt -O "$DIR"/web-data/cid.txt
-
 
38
if [ $? -ne 0 ]; then
-
 
39
        sleep 300
-
 
40
        wget https://standards-oui.ieee.org/cid/cid.txt -O "$DIR"/web-data/cid.txt
35
fi
41
fi