项目

一般

简介

update.sh

黄 正梁, 2022-10-12 17:53

 
1
#!/bin/sh
2
# in NAND  env:cd $sdax/patch
3
xxx=${HOSTNAME##*-}
4

    
5
echo "Update patch-${xxx}..."
6
#cp -rfv NandFlash/* /NandFlash
7
cp -fv omappsusetup /opt/bin
8
chmod a+x /opt/bin/omappsusetup
9
cp -fv omdio.conf /etc
10
chmod a+x /NandFlash/update_dbcfg_xxx.sh
11
sync
12
echo "Update patch-${xxx} ok"