Rev 18 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 18 | Rev 22 | ||
---|---|---|---|
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 https://standards-oui.ieee.org/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 | curl https://standards-oui.ieee.org/iab/iab.txt --output "$DIR"/web-data/iab.txt |
|
14 | if [ $? -ne 0 ]; then |
15 | if [ $? -ne 0 ]; then |
15 | sleep 300 |
16 | sleep 300 |
16 | wget https://standards-oui.ieee.org/iab/iab.txt -O "$DIR"/web-data/iab.txt |
17 | wget https://standards-oui.ieee.org/iab/iab.txt -O "$DIR"/web-data/iab.txt |
17 | fi |
18 | fi |
18 | 19 | ||
19 | wget https://standards-oui.ieee.org/oui/oui.txt -O "$DIR"/web-data/oui.txt |
20 | #wget https://standards-oui.ieee.org/oui/oui.txt -O "$DIR"/web-data/oui.txt |
- | 21 | curl https://standards-oui.ieee.org/oui/oui.txt --output "$DIR"/web-data/oui.txt |
|
20 | if [ $? -ne 0 ]; then |
22 | if [ $? -ne 0 ]; then |
21 | sleep 300 |
23 | sleep 300 |
22 | wget https://standards-oui.ieee.org/oui/oui.txt -O "$DIR"/web-data/oui.txt |
24 | wget https://standards-oui.ieee.org/oui/oui.txt -O "$DIR"/web-data/oui.txt |
23 | fi |
25 | fi |
24 | 26 | ||
25 | wget https://standards-oui.ieee.org/oui28/mam.txt -O "$DIR"/web-data/mam.txt |
27 | #wget https://standards-oui.ieee.org/oui28/mam.txt -O "$DIR"/web-data/mam.txt |
- | 28 | curl https://standards-oui.ieee.org/oui28/mam.txt --output "$DIR"/web-data/mam.txt |
|
26 | if [ $? -ne 0 ]; then |
29 | if [ $? -ne 0 ]; then |
27 | sleep 300 |
30 | sleep 300 |
28 | wget https://standards-oui.ieee.org/oui28/mam.txt -O "$DIR"/web-data/mam.txt |
31 | wget https://standards-oui.ieee.org/oui28/mam.txt -O "$DIR"/web-data/mam.txt |
29 | fi |
32 | fi |
30 | 33 | ||
31 | wget https://standards-oui.ieee.org/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 | curl https://standards-oui.ieee.org/oui36/oui36.txt --output "$DIR"/web-data/oui36.txt |
|
32 | if [ $? -ne 0 ]; then |
36 | if [ $? -ne 0 ]; then |
33 | sleep 300 |
37 | sleep 300 |
34 | wget https://standards-oui.ieee.org/oui36/oui36.txt -O "$DIR"/web-data/oui36.txt |
38 | wget https://standards-oui.ieee.org/oui36/oui36.txt -O "$DIR"/web-data/oui36.txt |
35 | fi |
39 | fi |
36 | 40 | ||
37 | wget https://standards-oui.ieee.org/cid/cid.txt -O "$DIR"/web-data/cid.txt |
41 | #wget https://standards-oui.ieee.org/cid/cid.txt -O "$DIR"/web-data/cid.txt |
- | 42 | curl https://standards-oui.ieee.org/cid/cid.txt --output "$DIR"/web-data/cid.txt |
|
38 | if [ $? -ne 0 ]; then |
43 | if [ $? -ne 0 ]; then |
39 | sleep 300 |
44 | sleep 300 |
40 | wget https://standards-oui.ieee.org/cid/cid.txt -O "$DIR"/web-data/cid.txt |
45 | wget https://standards-oui.ieee.org/cid/cid.txt -O "$DIR"/web-data/cid.txt |
41 | fi |
46 | fi |