RT-IPC_camera/bin/vslocal/cgi-bin/devscast.sh

9 lines
185 B
Bash

#!/bin/sh
echo "devs restart" >> /tmpfs/devs
#killall -10 ipcam
if [ -e /tmpfs/ipcam.pid ]
then
echo "send sigusr1 to vs_server.devs restart"
kill -10 `cat /tmpfs/ipcam.pid`
fi