Commit 696ca45
committed
app: script: Don't try to restart PPP if UART disappear
If the USB serial device is removed while PPP is running
the script might try to restart the connection or try
to run shutdown script and end up writing to a device
files that don't exist.
Add check, if devices are still present.
Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>1 parent 892c18d commit 696ca45
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
257 | 268 | | |
258 | 269 | | |
| 270 | + | |
259 | 271 | | |
260 | 272 | | |
261 | 273 | | |
| |||
275 | 287 | | |
276 | 288 | | |
277 | 289 | | |
| 290 | + | |
278 | 291 | | |
279 | 292 | | |
280 | 293 | | |
| |||
300 | 313 | | |
301 | 314 | | |
302 | 315 | | |
| 316 | + | |
303 | 317 | | |
304 | 318 | | |
305 | 319 | | |
| |||
0 commit comments