xf.li | 8611891 | 2025-03-19 20:07:27 -0700 | [diff] [blame^] | 1 | #!/bin/sh |
| 2 | |
| 3 | ############################################################################ |
| 4 | # Init RW_DATA of ZCORE&MMI. |
| 5 | ############################################################################ |
| 6 | if [ ! -f "/etc_rw/sc_tel/zcore_init_file_flag" ] |
| 7 | then |
| 8 | mkdir -p /etc_rw/sc_tel |
| 9 | mkdir -p /etc_rw/sc_tel/system |
| 10 | cp -rf /etc_ro/sc_tel/system /etc_rw/sc_tel |
| 11 | cp -rf /etc_ro/sc_tel/zbl /etc_rw/sc_tel |
| 12 | #mv -rf /etc_ro/app2/system/data /etc_rw/sc_tel/system |
| 13 | echo "Initializing RW data has been done!" > /etc_rw/sc_tel/zcore_init_file_flag |
| 14 | fi |
| 15 | |