#!/bin/sh
# ����ʱ��
echo -en "Content-type: text/html; charset=utf-8\n\n"
#*****************************************************
source ../bin/env.sh
jsoner="../bin/jsoner"


read data

time=`$jsoner "$data" time`

date -s "$time" > /dev/null
/sbin/hwclock -w

echo "{\"code\":\"success\"}"
