send a full frame containing only zeroes instead of a zero-byte frame
[hmcfgusb] / 20-hmlan.OpenWRT
CommitLineData
15bae84e
MG
1#!/bin/sh
2
3if [ "${PRODUCT:0:9}" = "1b1f/c00f" ]; then
4 logger "HMLAN: ${ACTION} ${PRODUCT}"
5
6 case "$ACTION" in
7 add)
8 if [ "`pidof hmland`" = "" ]; then
9 logger "Starting hmland"
10 hmland -d
11 fi
12 ;;
13 remove)
14 if [ "`pidof hmland`" != "" ]; then
15 logger "Stopping hmland"
16 killall hmland
17 fi
18 ;;
19 esac
20fi
Impressum, Datenschutz