update.sh
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" |