1
|
login as: root
|
2
|
root@192.168.1.101's password:
|
3
|
Last login: Mon Jun 5 16:25:57 2023 from 192.168.1.11
|
4
|
[root@OM-A6:~]# cd /NandFlash/tmp/patch-A6
|
5
|
[root@OM-A6:patch-A6]# chmod a+x update.sh
|
6
|
[root@OM-A6:patch-A6]# ./update.sh
|
7
|
|
8
|
Update patch-A6...
|
9
|
'NandFlash/www/wwwpub/C0-9x.asp' -> '/NandFlash/www/wwwpub/C0-9x.asp'
|
10
|
'NandFlash/www/wwwpub/C0-9.asp' -> '/NandFlash/www/wwwpub/C0-9.asp'
|
11
|
'NandFlash/www/wwwpub/C0-6x.asp' -> '/NandFlash/www/wwwpub/C0-6x.asp'
|
12
|
'NandFlash/www/wwwpub' -> '/NandFlash/www/wwwpub'
|
13
|
'NandFlash/www' -> '/NandFlash/www'
|
14
|
'omdrv' -> '/etc/init.d/omdrv'
|
15
|
'omdrv-ser' -> '/etc/init.d/omdrv-ser'
|
16
|
'S90omapp' -> '/etc/init.d/S90omapp'
|
17
|
'rc.local' -> '/etc/rc.local'
|
18
|
'profile' -> '/etc/profile'
|
19
|
Update patch-A6 ok
|
20
|
|
21
|
[root@OM-A6:patch-A6]#
|
22
|
[root@OM-A6:patch-A6]#
|
23
|
[root@OM-A6:patch-A6]#
|
24
|
[root@OM-A6:patch-A6]# pwd
|
25
|
/NandFlash/tmp/patch-A6
|
26
|
[root@OM-A6:patch-A6]# cd ../patch
|
27
|
[root@OM-A6:patch]# ls
|
28
|
NandFlash/ S70SysConfig update.sh
|
29
|
[root@OM-A6:patch]# ll
|
30
|
drwxr-xr-x 3 root root 100 Jun 5 16:46 ./
|
31
|
drwxrwxrwt 4 root root 260 Jun 5 16:46 ../
|
32
|
drwxr-xr-x 3 root root 300 Jun 5 16:46 NandFlash/
|
33
|
-rw-r--r-- 1 root root 65 Jun 5 16:44 S70SysConfig
|
34
|
-rw-r--r-- 1 root root 967 Jun 5 16:44 update.sh
|
35
|
[root@OM-A6:patch]# chmoa a+x update.sh
|
36
|
-sh: chmoa: command not found
|
37
|
[root@OM-A6:patch]# ll
|
38
|
drwxr-xr-x 3 root root 100 Jun 5 16:46 ./
|
39
|
drwxrwxrwt 4 root root 260 Jun 5 16:46 ../
|
40
|
drwxr-xr-x 3 root root 300 Jun 5 16:46 NandFlash/
|
41
|
-rw-r--r-- 1 root root 65 Jun 5 16:44 S70SysConfig
|
42
|
-rw-r--r-- 1 root root 967 Jun 5 16:44 update.sh
|
43
|
[root@OM-A6:patch]# chmod a+x update.sh
|
44
|
[root@OM-A6:patch]# ll
|
45
|
drwxr-xr-x 3 root root 100 Jun 5 16:46 ./
|
46
|
drwxrwxrwt 4 root root 260 Jun 5 16:46 ../
|
47
|
drwxr-xr-x 3 root root 300 Jun 5 16:46 NandFlash/
|
48
|
-rw-r--r-- 1 root root 65 Jun 5 16:44 S70SysConfig
|
49
|
-rwxr-xr-x 1 root root 967 Jun 5 16:44 update.sh*
|
50
|
[root@OM-A6:patch]# ./update.sh
|
51
|
Working dir: /NandFlash/tmp/patch
|
52
|
SDDir: /NandFlash/tmp
|
53
|
Update patch...
|
54
|
'NandFlash/PwdInit.cfg' -> '/NandFlash/PwdInit.cfg'
|
55
|
'NandFlash/hwtestEx' -> '/NandFlash/hwtestEx'
|
56
|
'NandFlash/hwtestEx.ini' -> '/NandFlash/hwtestEx.ini'
|
57
|
'NandFlash/hwtestExsetup' -> '/NandFlash/hwtestExsetup'
|
58
|
'NandFlash/hwtestExsetup_0' -> '/NandFlash/hwtestExsetup_0'
|
59
|
'NandFlash/libomdev.so' -> '/NandFlash/libomdev.so'
|
60
|
'NandFlash/libomser.so' -> '/NandFlash/libomser.so'
|
61
|
'NandFlash/libomserd.so' -> '/NandFlash/libomserd.so'
|
62
|
'NandFlash/libomsm.so' -> '/NandFlash/libomsm.so'
|
63
|
'NandFlash/libomsuw.so' -> '/NandFlash/libomsuw.so'
|
64
|
'NandFlash/omAppPost' -> '/NandFlash/omAppPost'
|
65
|
'NandFlash/omappsusetup' -> '/NandFlash/omappsusetup'
|
66
|
'NandFlash/www/wwwpub/omdev-com4.html' -> '/NandFlash/www/wwwpub/omdev-com4.html'
|
67
|
'NandFlash/www/wwwpub/login.asp' -> '/NandFlash/www/wwwpub/login.asp'
|
68
|
'NandFlash/www/wwwpub/jsn/A3-2304.js' -> '/NandFlash/www/wwwpub/jsn/A3-2304.js'
|
69
|
'NandFlash/www/wwwpub/jsn' -> '/NandFlash/www/wwwpub/jsn'
|
70
|
'NandFlash/www/wwwpub/js/purify.min.js' -> '/NandFlash/www/wwwpub/js/purify.min.js'
|
71
|
'NandFlash/www/wwwpub/js/md5b.min.js' -> '/NandFlash/www/wwwpub/js/md5b.min.js'
|
72
|
'NandFlash/www/wwwpub/js' -> '/NandFlash/www/wwwpub/js'
|
73
|
'NandFlash/www/wwwpub/index.asp' -> '/NandFlash/www/wwwpub/index.asp'
|
74
|
'NandFlash/www/wwwpub/img/LOGO.png' -> '/NandFlash/www/wwwpub/img/LOGO.png'
|
75
|
'NandFlash/www/wwwpub/img' -> '/NandFlash/www/wwwpub/img'
|
76
|
'NandFlash/www/wwwpub/hwtest.html' -> '/NandFlash/www/wwwpub/hwtest.html'
|
77
|
'NandFlash/www/wwwpub/css/images/login_background.jpg' -> '/NandFlash/www/wwwpub/css/images/login_background.jpg'
|
78
|
'NandFlash/www/wwwpub/css/images' -> '/NandFlash/www/wwwpub/css/images'
|
79
|
'NandFlash/www/wwwpub/css' -> '/NandFlash/www/wwwpub/css'
|
80
|
'NandFlash/www/wwwpub/C0-sms.asp' -> '/NandFlash/www/wwwpub/C0-sms.asp'
|
81
|
'NandFlash/www/wwwpub/C0-6x.asp' -> '/NandFlash/www/wwwpub/C0-6x.asp'
|
82
|
'NandFlash/www/wwwpub/C0-6.asp' -> '/NandFlash/www/wwwpub/C0-6.asp'
|
83
|
'NandFlash/www/wwwpub/C0-4x.asp' -> '/NandFlash/www/wwwpub/C0-4x.asp'
|
84
|
'NandFlash/www/wwwpub/C0-3x.asp' -> '/NandFlash/www/wwwpub/C0-3x.asp'
|
85
|
'NandFlash/www/wwwpub/C0-1x.asp' -> '/NandFlash/www/wwwpub/C0-1x.asp'
|
86
|
'NandFlash/www/wwwpub/B2.html' -> '/NandFlash/www/wwwpub/B2.html'
|
87
|
'NandFlash/www/wwwpub/B1.html' -> '/NandFlash/www/wwwpub/B1.html'
|
88
|
'NandFlash/www/wwwpub/A3-AI.asp' -> '/NandFlash/www/wwwpub/A3-AI.asp'
|
89
|
'NandFlash/www/wwwpub/A3-1280.asp' -> '/NandFlash/www/wwwpub/A3-1280.asp'
|
90
|
'NandFlash/www/wwwpub' -> '/NandFlash/www/wwwpub'
|
91
|
'NandFlash/www' -> '/NandFlash/www'
|
92
|
'/NandFlash/omappsusetup' -> '/opt/bin/omappsusetup'
|
93
|
'/NandFlash/hwtestExsetup_0' -> '/bin/hwtestExsetup'
|
94
|
'/NandFlash/hwtestExsetup' -> '/opt/bin/hwtestExsetup'
|
95
|
'S70SysConfig' -> '/etc/init.d/S70SysConfig'
|
96
|
|
97
|
Update patch-A6...
|
98
|
'NandFlash/www/wwwpub/C0-9x.asp' -> '/NandFlash/www/wwwpub/C0-9x.asp'
|
99
|
'NandFlash/www/wwwpub/C0-9.asp' -> '/NandFlash/www/wwwpub/C0-9.asp'
|
100
|
'NandFlash/www/wwwpub/C0-6x.asp' -> '/NandFlash/www/wwwpub/C0-6x.asp'
|
101
|
'NandFlash/www/wwwpub' -> '/NandFlash/www/wwwpub'
|
102
|
'NandFlash/www' -> '/NandFlash/www'
|
103
|
'omdrv' -> '/etc/init.d/omdrv'
|
104
|
'omdrv-ser' -> '/etc/init.d/omdrv-ser'
|
105
|
'S90omapp' -> '/etc/init.d/S90omapp'
|
106
|
'rc.local' -> '/etc/rc.local'
|
107
|
'profile' -> '/etc/profile'
|
108
|
ln: S80omdrv: File exists
|
109
|
Update patch-A6 ok
|
110
|
|
111
|
Update patch ok
|
112
|
[root@OM-A6:patch]# sync
|
113
|
[root@OM-A6:patch]# ps | grep
|
114
|
BusyBox v1.24.1 (2018-07-20 18:02:10 CST) multi-call binary.
|
115
|
|
116
|
Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
|
117
|
[root@OM-A6:patch]# ps | grep om
|
118
|
696 root 15208 S ./omTray
|
119
|
12548 root 2724 S grep om
|
120
|
[root@OM-A6:patch]# ps | grep om
|
121
|
696 root 15208 S ./omTray
|
122
|
12561 root 2724 S grep om
|
123
|
[root@OM-A6:patch]# ps | grep om
|
124
|
696 root 15208 S ./omTray
|
125
|
12573 root 2724 S grep om
|
126
|
[root@OM-A6:patch]# ps | grep om
|
127
|
696 root 15208 S ./omTray
|
128
|
12577 root 2724 S grep om
|
129
|
[root@OM-A6:patch]# ps | grep om
|
130
|
696 root 15208 S ./omTray
|
131
|
12580 root 2724 S grep om
|
132
|
[root@OM-A6:patch]# ps | grep om
|
133
|
696 root 15208 S ./omTray
|
134
|
12583 root 2724 S grep om
|
135
|
[root@OM-A6:patch]# ps | grep om
|
136
|
696 root 15208 S ./omTray
|
137
|
12587 root 2724 S grep om
|
138
|
[root@OM-A6:patch]# omapp
|
139
|
omapppostsetup omappsusetup
|
140
|
[root@OM-A6:patch]# omapp
|
141
|
omapppostsetup omappsusetup
|
142
|
[root@OM-A6:patch]# omapp
|
143
|
omapppostsetup omappsusetup
|
144
|
[root@OM-A6:patch]# omappsusetup
|
145
|
NandFlash/ S70SysConfig update.sh
|
146
|
[root@OM-A6:patch]# omappsusetup stop
|
147
|
PwdInit users: all
|
148
|
removed 'PwdInit.cfg'
|
149
|
Stopping omAppSU: killall: omAppSU: no process killed
|
150
|
OK
|
151
|
[root@OM-A6:patch]# ./update.sh
|
152
|
Working dir: /NandFlash/tmp/patch
|
153
|
SDDir: /NandFlash/tmp
|
154
|
Update patch...
|
155
|
'NandFlash/PwdInit.cfg' -> '/NandFlash/PwdInit.cfg'
|
156
|
'NandFlash/hwtestEx' -> '/NandFlash/hwtestEx'
|
157
|
'NandFlash/hwtestEx.ini' -> '/NandFlash/hwtestEx.ini'
|
158
|
'NandFlash/hwtestExsetup' -> '/NandFlash/hwtestExsetup'
|
159
|
'NandFlash/hwtestExsetup_0' -> '/NandFlash/hwtestExsetup_0'
|
160
|
'NandFlash/libomdev.so' -> '/NandFlash/libomdev.so'
|
161
|
'NandFlash/libomser.so' -> '/NandFlash/libomser.so'
|
162
|
'NandFlash/libomserd.so' -> '/NandFlash/libomserd.so'
|
163
|
'NandFlash/libomsm.so' -> '/NandFlash/libomsm.so'
|
164
|
'NandFlash/libomsuw.so' -> '/NandFlash/libomsuw.so'
|
165
|
'NandFlash/omAppPost' -> '/NandFlash/omAppPost'
|
166
|
'NandFlash/omappsusetup' -> '/NandFlash/omappsusetup'
|
167
|
'NandFlash/www/wwwpub/omdev-com4.html' -> '/NandFlash/www/wwwpub/omdev-com4.html'
|
168
|
'NandFlash/www/wwwpub/login.asp' -> '/NandFlash/www/wwwpub/login.asp'
|
169
|
'NandFlash/www/wwwpub/jsn/A3-2304.js' -> '/NandFlash/www/wwwpub/jsn/A3-2304.js'
|
170
|
'NandFlash/www/wwwpub/jsn' -> '/NandFlash/www/wwwpub/jsn'
|
171
|
'NandFlash/www/wwwpub/js/purify.min.js' -> '/NandFlash/www/wwwpub/js/purify.min.js'
|
172
|
'NandFlash/www/wwwpub/js/md5b.min.js' -> '/NandFlash/www/wwwpub/js/md5b.min.js'
|
173
|
'NandFlash/www/wwwpub/js' -> '/NandFlash/www/wwwpub/js'
|
174
|
'NandFlash/www/wwwpub/index.asp' -> '/NandFlash/www/wwwpub/index.asp'
|
175
|
'NandFlash/www/wwwpub/img/LOGO.png' -> '/NandFlash/www/wwwpub/img/LOGO.png'
|
176
|
'NandFlash/www/wwwpub/img' -> '/NandFlash/www/wwwpub/img'
|
177
|
'NandFlash/www/wwwpub/hwtest.html' -> '/NandFlash/www/wwwpub/hwtest.html'
|
178
|
'NandFlash/www/wwwpub/css/images/login_background.jpg' -> '/NandFlash/www/wwwpub/css/images/login_background.jpg'
|
179
|
'NandFlash/www/wwwpub/css/images' -> '/NandFlash/www/wwwpub/css/images'
|
180
|
'NandFlash/www/wwwpub/css' -> '/NandFlash/www/wwwpub/css'
|
181
|
'NandFlash/www/wwwpub/C0-sms.asp' -> '/NandFlash/www/wwwpub/C0-sms.asp'
|
182
|
'NandFlash/www/wwwpub/C0-6x.asp' -> '/NandFlash/www/wwwpub/C0-6x.asp'
|
183
|
'NandFlash/www/wwwpub/C0-6.asp' -> '/NandFlash/www/wwwpub/C0-6.asp'
|
184
|
'NandFlash/www/wwwpub/C0-4x.asp' -> '/NandFlash/www/wwwpub/C0-4x.asp'
|
185
|
'NandFlash/www/wwwpub/C0-3x.asp' -> '/NandFlash/www/wwwpub/C0-3x.asp'
|
186
|
'NandFlash/www/wwwpub/C0-1x.asp' -> '/NandFlash/www/wwwpub/C0-1x.asp'
|
187
|
'NandFlash/www/wwwpub/B2.html' -> '/NandFlash/www/wwwpub/B2.html'
|
188
|
'NandFlash/www/wwwpub/B1.html' -> '/NandFlash/www/wwwpub/B1.html'
|
189
|
'NandFlash/www/wwwpub/A3-AI.asp' -> '/NandFlash/www/wwwpub/A3-AI.asp'
|
190
|
'NandFlash/www/wwwpub/A3-1280.asp' -> '/NandFlash/www/wwwpub/A3-1280.asp'
|
191
|
'NandFlash/www/wwwpub' -> '/NandFlash/www/wwwpub'
|
192
|
'NandFlash/www' -> '/NandFlash/www'
|
193
|
'/NandFlash/omappsusetup' -> '/opt/bin/omappsusetup'
|
194
|
'/NandFlash/hwtestExsetup_0' -> '/bin/hwtestExsetup'
|
195
|
'/NandFlash/hwtestExsetup' -> '/opt/bin/hwtestExsetup'
|
196
|
'S70SysConfig' -> '/etc/init.d/S70SysConfig'
|
197
|
ln: S70SysConfig: File exists
|
198
|
|
199
|
Update patch-A6...
|
200
|
'NandFlash/www/wwwpub/C0-9x.asp' -> '/NandFlash/www/wwwpub/C0-9x.asp'
|
201
|
'NandFlash/www/wwwpub/C0-9.asp' -> '/NandFlash/www/wwwpub/C0-9.asp'
|
202
|
'NandFlash/www/wwwpub/C0-6x.asp' -> '/NandFlash/www/wwwpub/C0-6x.asp'
|
203
|
'NandFlash/www/wwwpub' -> '/NandFlash/www/wwwpub'
|
204
|
'NandFlash/www' -> '/NandFlash/www'
|
205
|
'omdrv' -> '/etc/init.d/omdrv'
|
206
|
'omdrv-ser' -> '/etc/init.d/omdrv-ser'
|
207
|
'S90omapp' -> '/etc/init.d/S90omapp'
|
208
|
'rc.local' -> '/etc/rc.local'
|
209
|
'profile' -> '/etc/profile'
|
210
|
ln: S80omdrv: File exists
|
211
|
Update patch-A6 ok
|
212
|
|
213
|
Update patch ok
|
214
|
[root@OM-A6:patch]# sync
|
215
|
[root@OM-A6:patch]#
|