Skip to content

Commit 48261a3

Browse files
committed
fix file=
1 parent 137057c commit 48261a3

File tree

1 file changed

+66
-68
lines changed

1 file changed

+66
-68
lines changed

Install/openWRT23_install.sh

+66-68
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ DEVICE_REVISION='v0.90'
14551455

14561456
EOF
14571457

1458-
FILE=/root/openWRT*.sh
1458+
FILE1=/root/openWRT*.sh
14591459
if [ "$(ls openWRT*.sh)" != "" ]
14601460
then
14611461
cp openWRT*.sh /etc/openWRT_install.sh
@@ -1485,8 +1485,8 @@ echo 'Sichere alte Konfiguration'
14851485
#iptables-save > rules.v4_old_$datum.bkp
14861486

14871487
sleep 30
1488-
FILE=/www/luci-static/bootstrap/OCR-A.ttf
1489-
#if [ ! -f "$FILE" ]
1488+
FILE3=/www/luci-static/bootstrap/OCR-A.ttf
1489+
#if [ ! -f "$FILE3" ]
14901490
# then
14911491

14921492
if [ "$(ls /www/luci-static/bootstrap/c*.css)" != "" ]
@@ -1523,8 +1523,8 @@ FILE=/www/luci-static/bootstrap/OCR-A.ttf
15231523
}
15241524

15251525
config_overview(){
1526-
FILE1=/www/luci-static/resources/view/status/include/90_system.js
1527-
if [ ! -f "$FILE" ]
1526+
FILE4=/www/luci-static/resources/view/status/include/90_system.js
1527+
if [ ! -f "$FILE4" ]
15281528
then
15291529
mv /www/luci-static/resources/view/status/include/*_dsl.js /www/luci-static/resources/view/status/include/10_dsl.js
15301530
mv /www/luci-static/resources/view/status/include/*_ports.js /www/luci-static/resources/view/status/include/11_ports.js
@@ -1543,8 +1543,8 @@ echo
15431543
}
15441544

15451545
create_hotspot(){
1546-
FILE=/www/CaptivePortal/pic
1547-
if [ ! -d "$FILE" ]
1546+
FILE5=/www/CaptivePortal/pic
1547+
if [ ! -d "$FILE5" ]
15481548
then
15491549
create_hotspot_sub
15501550
fi
@@ -1553,80 +1553,78 @@ create_hotspot(){
15531553

15541554
create_hotspot_sub() {
15551555

1556-
FILE=/www/CaptivePortal/pic
1556+
FILE6=/www/CaptivePortal/pic
15571557

15581558
mkdir -p /www/router
15591559
mkdir -p /www/redirect
15601560
mkdir -p /www/CaptivePortal
15611561
mkdir -p /www/generate_204
15621562
mkdir -p /www/CaptivePortal/pic
15631563

1564-
1565-
wait $processes
15661564
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/index.htm -P /www/)
15671565
wait $processes1
1568-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/captiveportal.htm -O /www/CaptivePortal/index.htm)
1569-
wait $processes1
1570-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/mobile.css -P /www/CaptivePortal/)
1571-
wait $processes1
1572-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/theme.css -P /www/CaptivePortal/)
1573-
wait $processes1
1574-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/theme_variable.css -P /www/CaptivePortal/)
1575-
wait $processes1
1576-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/prophetie.htm -P /www/CaptivePortal/)
1566+
processes2=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/captiveportal.htm -O /www/CaptivePortal/index.htm)
1567+
wait $processes2
1568+
processes3=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/mobile.css -P /www/CaptivePortal/)
1569+
wait $processes3
1570+
processes4=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/theme.css -P /www/CaptivePortal/)
1571+
wait $processes4
1572+
processes5=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/theme_variable.css -P /www/CaptivePortal/)
1573+
wait $processes5
1574+
processes6=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/prophetie.htm -P /www/CaptivePortal/)
15771575
#wait $processes1
15781576
#processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/OCR-A.ttf -P /www/CaptivePortal/)
1579-
wait $processes1
1580-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/OCRAStd.woff -P /www/CaptivePortal/)
1581-
wait $processes1
1582-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/Unwetter2.jpg -P /www/CaptivePortal/pic/)
1583-
wait $processes1
1584-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/Bibelserver.png -P /www/CaptivePortal/pic/)
1585-
wait $processes1
1586-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/CMovie.svg -P /www/CaptivePortal/pic/)
1587-
wait $processes1
1588-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/virus.png -P /www/CaptivePortal/pic/)
1589-
wait $processes1
1590-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/CMovie-Logo.png -P /www/CaptivePortal/pic/)
1591-
wait $processes1
1592-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/CMovie-Play.svg -P /www/CaptivePortal/pic/)
1577+
wait $processes6
1578+
processes7=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/OCRAStd.woff -P /www/CaptivePortal/)
1579+
wait $processes7
1580+
processes8=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/Unwetter2.jpg -P /www/CaptivePortal/pic/)
1581+
wait $processes8
1582+
processes9=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/Bibelserver.png -P /www/CaptivePortal/pic/)
1583+
wait $processes9
1584+
processes10=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/CMovie.svg -P /www/CaptivePortal/pic/)
1585+
wait $processes10
1586+
processes11=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/virus.png -P /www/CaptivePortal/pic/)
1587+
wait $processes11
1588+
processes12=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/CMovie-Logo.png -P /www/CaptivePortal/pic/)
1589+
wait $processes12
1590+
processes13=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/CMovie-Play.svg -P /www/CaptivePortal/pic/)
15931591
#wait $processes1
15941592
#processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/Corona_2.svg -P /www/CaptivePortal/pic/)
1595-
wait $processes1
1596-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/csb.png -P /www/CaptivePortal/pic/)
1597-
wait $processes1
1598-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/Münzen.png -P /www/CaptivePortal/pic/)
1599-
wait $processes1
1600-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/search.svg -P /www/CaptivePortal/pic/)
1601-
wait $processes1
1602-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/search-128.svg -P /www/CaptivePortal/pic/)
1603-
wait $processes1
1604-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War.jpg -P /www/CaptivePortal/pic/)
1605-
wait $processes1
1606-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_Foreground_Maske.png -P /www/CaptivePortal/pic/)
1607-
wait $processes1
1608-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_Foreground_Maske_o.png -P /www/CaptivePortal/pic/)
1609-
wait $processes1
1610-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_Maske.png -P /www/CaptivePortal/pic/)
1611-
wait $processes1
1612-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_MaskeDust.png -P /www/CaptivePortal/pic/)
1613-
wait $processes1
1614-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_MaskeDust2.png -P /www/CaptivePortal/pic/)
1615-
wait $processes1
1616-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_MaskeFlammen.png -P /www/CaptivePortal/pic/)
1617-
wait $processes1
1618-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_MaskeFlammen_o.png -P /www/CaptivePortal/pic/)
1619-
wait $processes1
1620-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_MaskeHimmel.png -P /www/CaptivePortal/pic/)
1621-
wait $processes1
1622-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_MaskeSchutt.png -P /www/CaptivePortal/pic/)
1623-
wait $processes1
1624-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/WarMaske.png -P /www/CaptivePortal/pic/)
1625-
wait $processes1
1626-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/WarMaskeSky.png -P /www/CaptivePortal/pic/)
1627-
wait $processes1
1628-
processes1=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/WarMaskeSky_.png -P /www/CaptivePortal/pic/)
1629-
1593+
wait $processes13
1594+
processes14=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/csb.png -P /www/CaptivePortal/pic/)
1595+
wait $processes14
1596+
processes15=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/Münzen.png -P /www/CaptivePortal/pic/)
1597+
wait $processes15
1598+
processes16=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/search.svg -P /www/CaptivePortal/pic/)
1599+
wait $processes16
1600+
processes17=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/search-128.svg -P /www/CaptivePortal/pic/)
1601+
wait $processes17
1602+
processes18=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War.jpg -P /www/CaptivePortal/pic/)
1603+
wait $processes18
1604+
processes19=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_Foreground_Maske.png -P /www/CaptivePortal/pic/)
1605+
wait $processes19
1606+
processes20=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_Foreground_Maske_o.png -P /www/CaptivePortal/pic/)
1607+
wait $processes20
1608+
processes21=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_Maske.png -P /www/CaptivePortal/pic/)
1609+
wait $processes21
1610+
processes22=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_MaskeDust.png -P /www/CaptivePortal/pic/)
1611+
wait $processes22
1612+
processes23=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_MaskeDust2.png -P /www/CaptivePortal/pic/)
1613+
wait $processes23
1614+
processes24=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_MaskeFlammen.png -P /www/CaptivePortal/pic/)
1615+
wait $processes24
1616+
processes25=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_MaskeFlammen_o.png -P /www/CaptivePortal/pic/)
1617+
wait $processes25
1618+
processes26=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_MaskeHimmel.png -P /www/CaptivePortal/pic/)
1619+
wait $processes26
1620+
processes27=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/War_MaskeSchutt.png -P /www/CaptivePortal/pic/)
1621+
wait $processes27
1622+
processes28=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/WarMaske.png -P /www/CaptivePortal/pic/)
1623+
wait $processes28
1624+
processes29=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/WarMaskeSky.png -P /www/CaptivePortal/pic/)
1625+
wait $processes29
1626+
processes30=$(wget https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/www/CaptivePortal/WarMaskeSky_.png -P /www/CaptivePortal/pic/)
1627+
wait $processes30
16301628
echo
16311629
echo 'On Error enter logread'
16321630
echo

0 commit comments

Comments
 (0)