1
2
3
4
5
6
7
8
9
10
11
12
13
| #!/bin/sh
| # 删除设备
| echo -en "Content-type: text/html; charset=utf-8\n\n"
| #*****************************************************
| source ../bin/env.sh
|
| echo "{\"code\": \"success\"}"
| pontime=`date '+%Y-%m-%d %H:%M:%S: '`
| echo "$pontime web页面手动重启" > /work/data/power.log
|
| result=`/usr/local/script/backup_cfg.sh`
|
| /sbin/reboot
|
|