blob: 01d0f1dee4439c23ea7b18ffa32ac76d030bb23c [file] [log] [blame]
xf.li86118912025-03-19 20:07:27 -07001#!/bin/sh
2
3############################################################################
4# Init RW_DATA of ZCORE&MMI.
5############################################################################
6if [ ! -f "/etc_rw/sc_tel/zcore_init_file_flag" ]
7then
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
14fi
15