Skip to content

Commit bc90889

Browse files
committed
downoad script
1 parent 81a1170 commit bc90889

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Install/customize_firmware.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ if [ ! -f "$FILE" ]
246246
processes=$(rm /www/luci-static/resources/view/dashboard/css/c*.css)
247247
wait $processes
248248
fi
249-
#process=$(wget --waitretry=10 -t 5 -O /root/openWRT23_install.sh https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/Install/openWRT23_install.sh)
250-
#wait $process
249+
process50=$(wget --waitretry=10 -t 5 -O /root/openWRT23_install.sh https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/Install/openWRT23_install.sh)
250+
wait $process50
251251

252252
if [ "$(ls /www/luci-static/bootstrap/logo.svg)" != "" ]
253253
then
@@ -461,7 +461,7 @@ cat << EOF > /etc/rc.local
461461
fi
462462
if [ ! -f /root/run ]
463463
then
464-
echo $(date) > /root/run
464+
echo "'"'$(date) "'"> /root/run
465465
rm /root/customize_firmware.sh
466466
exit 0
467467
fi

customize_firmware.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ if [ ! -f "$FILE" ]
246246
processes=$(rm /www/luci-static/resources/view/dashboard/css/c*.css)
247247
wait $processes
248248
fi
249-
#process=$(wget --waitretry=10 -t 5 -O /root/openWRT23_install.sh https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/Install/openWRT23_install.sh)
250-
#wait $process
249+
process50=$(wget --waitretry=10 -t 5 -O /root/openWRT23_install.sh https://github.com/CyberAndi/CyberSecurity-Box/raw/CyberSecurity-Box/Install/openWRT23_install.sh)
250+
wait $process50
251251

252252
if [ "$(ls /www/luci-static/bootstrap/logo.svg)" != "" ]
253253
then
@@ -461,7 +461,7 @@ cat << EOF > /etc/rc.local
461461
fi
462462
if [ ! -f /root/run ]
463463
then
464-
echo $(date) > /root/run
464+
echo "'"'$(date) "'"> /root/run
465465
rm /root/customize_firmware.sh
466466
exit 0
467467
fi

0 commit comments

Comments
 (0)