]> git.zerfleddert.de Git - fhem-stuff/blame - CUL/20-cul.OpenWRT
CUL stuff for OpenWRT
[fhem-stuff] / CUL / 20-cul.OpenWRT
CommitLineData
d1ff840a
MG
1#!/bin/sh
2
3if [ "${PRODUCT:0:8}" = "3eb/204b" ]; then
4 logger "CUL: ${ACTION} ${PRODUCT}"
5
6 case "$ACTION" in
7 add)
8 if [ "`pidof culd`" = "" ]; then
9 logger "Starting culd"
10 /usr/sbin/culd &
11 fi
12 ;;
13 remove)
14 if [ "`pidof culd`" != "" ]; then
15 logger "Stopping culd"
16 killall culd
17 killall socat
18 fi
19 ;;
20 esac
21fi
Impressum, Datenschutz