#!/bin/bash
# Kill all server program
pkill -f ./HikeVideoWebServer
pkill -f ./scheduleNotice
#pkill -f ./resetWatch
pkill -f ./localAlarmNotice
pkill -f ./LEDNotice
pkill -f ./EventNotice
pkill -f ./firmwareupgraded
#
# Stop watchdog
cd /usr/local/hike
./WatchdogStopTool
#
# Start test 
cd /root/tool
./querySerial /dev/ttyS2 9600 1000 "Test SIO OK"
./testpio_i
./testpio_o
# End
