| #!/bin/sh |
| |
| ############################################################################ |
| # Init RW_DATA of ZCORE&MMI. |
| ############################################################################ |
| if [ ! -f "/etc_rw/sc_tel/zcore_init_file_flag" ] |
| then |
| mkdir -p /etc_rw/sc_tel |
| mkdir -p /etc_rw/sc_tel/system |
| cp -rf /etc_ro/sc_tel/system /etc_rw/sc_tel |
| cp -rf /etc_ro/sc_tel/zbl /etc_rw/sc_tel |
| #mv -rf /etc_ro/app2/system/data /etc_rw/sc_tel/system |
| echo "Initializing RW data has been done!" > /etc_rw/sc_tel/zcore_init_file_flag |
| fi |
| |