Skip to content

Commit 7eb1120

Browse files
committed
insert rc_log
1 parent ef2dadc commit 7eb1120

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Install/customize_firmware.sh

+2
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,8 @@ cat << EOF > /etc/rc.local
465465
rm /root/customize_firmware.sh >> /root/install_rc_local.log
466466
exit 0
467467
fi
468+
echo '$(date) ' >> /root/install_rc_local.log
469+
cat /etc/rc.local >> /root/install_rc_local.log
468470
rm /etc/rc.local >> /root/install_rc_local.log
469471
echo "" > /www/phpinfo.php
470472
echo "exit 0" > /etc/rc.local

customize_firmware.sh

+2
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,8 @@ cat << EOF > /etc/rc.local
465465
rm /root/customize_firmware.sh >> /root/install_rc_local.log
466466
exit 0
467467
fi
468+
echo '$(date) ' >> /root/install_rc_local.log
469+
cat /etc/rc.local >> /root/install_rc_local.log
468470
rm /etc/rc.local >> /root/install_rc_local.log
469471
echo "" > /www/phpinfo.php
470472
echo "exit 0" > /etc/rc.local

0 commit comments

Comments
 (0)