login as: root root@192.168.1.101's password: Last login: Mon Jun 5 16:25:57 2023 from 192.168.1.11 [root@OM-A6:~]# cd /NandFlash/tmp/patch-A6 [root@OM-A6:patch-A6]# chmod a+x update.sh [root@OM-A6:patch-A6]# ./update.sh Update patch-A6... 'NandFlash/www/wwwpub/C0-9x.asp' -> '/NandFlash/www/wwwpub/C0-9x.asp' 'NandFlash/www/wwwpub/C0-9.asp' -> '/NandFlash/www/wwwpub/C0-9.asp' 'NandFlash/www/wwwpub/C0-6x.asp' -> '/NandFlash/www/wwwpub/C0-6x.asp' 'NandFlash/www/wwwpub' -> '/NandFlash/www/wwwpub' 'NandFlash/www' -> '/NandFlash/www' 'omdrv' -> '/etc/init.d/omdrv' 'omdrv-ser' -> '/etc/init.d/omdrv-ser' 'S90omapp' -> '/etc/init.d/S90omapp' 'rc.local' -> '/etc/rc.local' 'profile' -> '/etc/profile' Update patch-A6 ok [root@OM-A6:patch-A6]# [root@OM-A6:patch-A6]# [root@OM-A6:patch-A6]# [root@OM-A6:patch-A6]# pwd /NandFlash/tmp/patch-A6 [root@OM-A6:patch-A6]# cd ../patch [root@OM-A6:patch]# ls NandFlash/ S70SysConfig update.sh [root@OM-A6:patch]# ll drwxr-xr-x 3 root root 100 Jun 5 16:46 ./ drwxrwxrwt 4 root root 260 Jun 5 16:46 ../ drwxr-xr-x 3 root root 300 Jun 5 16:46 NandFlash/ -rw-r--r-- 1 root root 65 Jun 5 16:44 S70SysConfig -rw-r--r-- 1 root root 967 Jun 5 16:44 update.sh [root@OM-A6:patch]# chmoa a+x update.sh -sh: chmoa: command not found [root@OM-A6:patch]# ll drwxr-xr-x 3 root root 100 Jun 5 16:46 ./ drwxrwxrwt 4 root root 260 Jun 5 16:46 ../ drwxr-xr-x 3 root root 300 Jun 5 16:46 NandFlash/ -rw-r--r-- 1 root root 65 Jun 5 16:44 S70SysConfig -rw-r--r-- 1 root root 967 Jun 5 16:44 update.sh [root@OM-A6:patch]# chmod a+x update.sh [root@OM-A6:patch]# ll drwxr-xr-x 3 root root 100 Jun 5 16:46 ./ drwxrwxrwt 4 root root 260 Jun 5 16:46 ../ drwxr-xr-x 3 root root 300 Jun 5 16:46 NandFlash/ -rw-r--r-- 1 root root 65 Jun 5 16:44 S70SysConfig -rwxr-xr-x 1 root root 967 Jun 5 16:44 update.sh* [root@OM-A6:patch]# ./update.sh Working dir: /NandFlash/tmp/patch SDDir: /NandFlash/tmp Update patch... 'NandFlash/PwdInit.cfg' -> '/NandFlash/PwdInit.cfg' 'NandFlash/hwtestEx' -> '/NandFlash/hwtestEx' 'NandFlash/hwtestEx.ini' -> '/NandFlash/hwtestEx.ini' 'NandFlash/hwtestExsetup' -> '/NandFlash/hwtestExsetup' 'NandFlash/hwtestExsetup_0' -> '/NandFlash/hwtestExsetup_0' 'NandFlash/libomdev.so' -> '/NandFlash/libomdev.so' 'NandFlash/libomser.so' -> '/NandFlash/libomser.so' 'NandFlash/libomserd.so' -> '/NandFlash/libomserd.so' 'NandFlash/libomsm.so' -> '/NandFlash/libomsm.so' 'NandFlash/libomsuw.so' -> '/NandFlash/libomsuw.so' 'NandFlash/omAppPost' -> '/NandFlash/omAppPost' 'NandFlash/omappsusetup' -> '/NandFlash/omappsusetup' 'NandFlash/www/wwwpub/omdev-com4.html' -> '/NandFlash/www/wwwpub/omdev-com4.html' 'NandFlash/www/wwwpub/login.asp' -> '/NandFlash/www/wwwpub/login.asp' 'NandFlash/www/wwwpub/jsn/A3-2304.js' -> '/NandFlash/www/wwwpub/jsn/A3-2304.js' 'NandFlash/www/wwwpub/jsn' -> '/NandFlash/www/wwwpub/jsn' 'NandFlash/www/wwwpub/js/purify.min.js' -> '/NandFlash/www/wwwpub/js/purify.min.js' 'NandFlash/www/wwwpub/js/md5b.min.js' -> '/NandFlash/www/wwwpub/js/md5b.min.js' 'NandFlash/www/wwwpub/js' -> '/NandFlash/www/wwwpub/js' 'NandFlash/www/wwwpub/index.asp' -> '/NandFlash/www/wwwpub/index.asp' 'NandFlash/www/wwwpub/img/LOGO.png' -> '/NandFlash/www/wwwpub/img/LOGO.png' 'NandFlash/www/wwwpub/img' -> '/NandFlash/www/wwwpub/img' 'NandFlash/www/wwwpub/hwtest.html' -> '/NandFlash/www/wwwpub/hwtest.html' 'NandFlash/www/wwwpub/css/images/login_background.jpg' -> '/NandFlash/www/wwwpub/css/images/login_background.jpg' 'NandFlash/www/wwwpub/css/images' -> '/NandFlash/www/wwwpub/css/images' 'NandFlash/www/wwwpub/css' -> '/NandFlash/www/wwwpub/css' 'NandFlash/www/wwwpub/C0-sms.asp' -> '/NandFlash/www/wwwpub/C0-sms.asp' 'NandFlash/www/wwwpub/C0-6x.asp' -> '/NandFlash/www/wwwpub/C0-6x.asp' 'NandFlash/www/wwwpub/C0-6.asp' -> '/NandFlash/www/wwwpub/C0-6.asp' 'NandFlash/www/wwwpub/C0-4x.asp' -> '/NandFlash/www/wwwpub/C0-4x.asp' 'NandFlash/www/wwwpub/C0-3x.asp' -> '/NandFlash/www/wwwpub/C0-3x.asp' 'NandFlash/www/wwwpub/C0-1x.asp' -> '/NandFlash/www/wwwpub/C0-1x.asp' 'NandFlash/www/wwwpub/B2.html' -> '/NandFlash/www/wwwpub/B2.html' 'NandFlash/www/wwwpub/B1.html' -> '/NandFlash/www/wwwpub/B1.html' 'NandFlash/www/wwwpub/A3-AI.asp' -> '/NandFlash/www/wwwpub/A3-AI.asp' 'NandFlash/www/wwwpub/A3-1280.asp' -> '/NandFlash/www/wwwpub/A3-1280.asp' 'NandFlash/www/wwwpub' -> '/NandFlash/www/wwwpub' 'NandFlash/www' -> '/NandFlash/www' '/NandFlash/omappsusetup' -> '/opt/bin/omappsusetup' '/NandFlash/hwtestExsetup_0' -> '/bin/hwtestExsetup' '/NandFlash/hwtestExsetup' -> '/opt/bin/hwtestExsetup' 'S70SysConfig' -> '/etc/init.d/S70SysConfig' Update patch-A6... 'NandFlash/www/wwwpub/C0-9x.asp' -> '/NandFlash/www/wwwpub/C0-9x.asp' 'NandFlash/www/wwwpub/C0-9.asp' -> '/NandFlash/www/wwwpub/C0-9.asp' 'NandFlash/www/wwwpub/C0-6x.asp' -> '/NandFlash/www/wwwpub/C0-6x.asp' 'NandFlash/www/wwwpub' -> '/NandFlash/www/wwwpub' 'NandFlash/www' -> '/NandFlash/www' 'omdrv' -> '/etc/init.d/omdrv' 'omdrv-ser' -> '/etc/init.d/omdrv-ser' 'S90omapp' -> '/etc/init.d/S90omapp' 'rc.local' -> '/etc/rc.local' 'profile' -> '/etc/profile' ln: S80omdrv: File exists Update patch-A6 ok Update patch ok [root@OM-A6:patch]# sync [root@OM-A6:patch]# ps | grep BusyBox v1.24.1 (2018-07-20 18:02:10 CST) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... [root@OM-A6:patch]# ps | grep om 696 root 15208 S ./omTray 12548 root 2724 S grep om [root@OM-A6:patch]# ps | grep om 696 root 15208 S ./omTray 12561 root 2724 S grep om [root@OM-A6:patch]# ps | grep om 696 root 15208 S ./omTray 12573 root 2724 S grep om [root@OM-A6:patch]# ps | grep om 696 root 15208 S ./omTray 12577 root 2724 S grep om [root@OM-A6:patch]# ps | grep om 696 root 15208 S ./omTray 12580 root 2724 S grep om [root@OM-A6:patch]# ps | grep om 696 root 15208 S ./omTray 12583 root 2724 S grep om [root@OM-A6:patch]# ps | grep om 696 root 15208 S ./omTray 12587 root 2724 S grep om [root@OM-A6:patch]# omapp omapppostsetup omappsusetup [root@OM-A6:patch]# omapp omapppostsetup omappsusetup [root@OM-A6:patch]# omapp omapppostsetup omappsusetup [root@OM-A6:patch]# omappsusetup NandFlash/ S70SysConfig update.sh [root@OM-A6:patch]# omappsusetup stop PwdInit users: all removed 'PwdInit.cfg' Stopping omAppSU: killall: omAppSU: no process killed OK [root@OM-A6:patch]# ./update.sh Working dir: /NandFlash/tmp/patch SDDir: /NandFlash/tmp Update patch... 'NandFlash/PwdInit.cfg' -> '/NandFlash/PwdInit.cfg' 'NandFlash/hwtestEx' -> '/NandFlash/hwtestEx' 'NandFlash/hwtestEx.ini' -> '/NandFlash/hwtestEx.ini' 'NandFlash/hwtestExsetup' -> '/NandFlash/hwtestExsetup' 'NandFlash/hwtestExsetup_0' -> '/NandFlash/hwtestExsetup_0' 'NandFlash/libomdev.so' -> '/NandFlash/libomdev.so' 'NandFlash/libomser.so' -> '/NandFlash/libomser.so' 'NandFlash/libomserd.so' -> '/NandFlash/libomserd.so' 'NandFlash/libomsm.so' -> '/NandFlash/libomsm.so' 'NandFlash/libomsuw.so' -> '/NandFlash/libomsuw.so' 'NandFlash/omAppPost' -> '/NandFlash/omAppPost' 'NandFlash/omappsusetup' -> '/NandFlash/omappsusetup' 'NandFlash/www/wwwpub/omdev-com4.html' -> '/NandFlash/www/wwwpub/omdev-com4.html' 'NandFlash/www/wwwpub/login.asp' -> '/NandFlash/www/wwwpub/login.asp' 'NandFlash/www/wwwpub/jsn/A3-2304.js' -> '/NandFlash/www/wwwpub/jsn/A3-2304.js' 'NandFlash/www/wwwpub/jsn' -> '/NandFlash/www/wwwpub/jsn' 'NandFlash/www/wwwpub/js/purify.min.js' -> '/NandFlash/www/wwwpub/js/purify.min.js' 'NandFlash/www/wwwpub/js/md5b.min.js' -> '/NandFlash/www/wwwpub/js/md5b.min.js' 'NandFlash/www/wwwpub/js' -> '/NandFlash/www/wwwpub/js' 'NandFlash/www/wwwpub/index.asp' -> '/NandFlash/www/wwwpub/index.asp' 'NandFlash/www/wwwpub/img/LOGO.png' -> '/NandFlash/www/wwwpub/img/LOGO.png' 'NandFlash/www/wwwpub/img' -> '/NandFlash/www/wwwpub/img' 'NandFlash/www/wwwpub/hwtest.html' -> '/NandFlash/www/wwwpub/hwtest.html' 'NandFlash/www/wwwpub/css/images/login_background.jpg' -> '/NandFlash/www/wwwpub/css/images/login_background.jpg' 'NandFlash/www/wwwpub/css/images' -> '/NandFlash/www/wwwpub/css/images' 'NandFlash/www/wwwpub/css' -> '/NandFlash/www/wwwpub/css' 'NandFlash/www/wwwpub/C0-sms.asp' -> '/NandFlash/www/wwwpub/C0-sms.asp' 'NandFlash/www/wwwpub/C0-6x.asp' -> '/NandFlash/www/wwwpub/C0-6x.asp' 'NandFlash/www/wwwpub/C0-6.asp' -> '/NandFlash/www/wwwpub/C0-6.asp' 'NandFlash/www/wwwpub/C0-4x.asp' -> '/NandFlash/www/wwwpub/C0-4x.asp' 'NandFlash/www/wwwpub/C0-3x.asp' -> '/NandFlash/www/wwwpub/C0-3x.asp' 'NandFlash/www/wwwpub/C0-1x.asp' -> '/NandFlash/www/wwwpub/C0-1x.asp' 'NandFlash/www/wwwpub/B2.html' -> '/NandFlash/www/wwwpub/B2.html' 'NandFlash/www/wwwpub/B1.html' -> '/NandFlash/www/wwwpub/B1.html' 'NandFlash/www/wwwpub/A3-AI.asp' -> '/NandFlash/www/wwwpub/A3-AI.asp' 'NandFlash/www/wwwpub/A3-1280.asp' -> '/NandFlash/www/wwwpub/A3-1280.asp' 'NandFlash/www/wwwpub' -> '/NandFlash/www/wwwpub' 'NandFlash/www' -> '/NandFlash/www' '/NandFlash/omappsusetup' -> '/opt/bin/omappsusetup' '/NandFlash/hwtestExsetup_0' -> '/bin/hwtestExsetup' '/NandFlash/hwtestExsetup' -> '/opt/bin/hwtestExsetup' 'S70SysConfig' -> '/etc/init.d/S70SysConfig' ln: S70SysConfig: File exists Update patch-A6... 'NandFlash/www/wwwpub/C0-9x.asp' -> '/NandFlash/www/wwwpub/C0-9x.asp' 'NandFlash/www/wwwpub/C0-9.asp' -> '/NandFlash/www/wwwpub/C0-9.asp' 'NandFlash/www/wwwpub/C0-6x.asp' -> '/NandFlash/www/wwwpub/C0-6x.asp' 'NandFlash/www/wwwpub' -> '/NandFlash/www/wwwpub' 'NandFlash/www' -> '/NandFlash/www' 'omdrv' -> '/etc/init.d/omdrv' 'omdrv-ser' -> '/etc/init.d/omdrv-ser' 'S90omapp' -> '/etc/init.d/S90omapp' 'rc.local' -> '/etc/rc.local' 'profile' -> '/etc/profile' ln: S80omdrv: File exists Update patch-A6 ok Update patch ok [root@OM-A6:patch]# sync [root@OM-A6:patch]#