1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| #!/bin/sh
| # 端口配置-查询
| echo -en "Content-type: text/html; charset=utf-8\n\n"
| #*****************************************************
| source ../bin/env.sh
| db="../bin/db"
|
| file="/tmp/oid_list.csv"
|
| if [ -f "$file" ]
| then
| echo "{\"code\":\"success\"}"
| else
| echo "{\"code\":\"error\"}"
| fi
|
|
|