]> git.zerfleddert.de Git - hmcfgusb/blame - 20-hmlan.OpenWRT
add OTA support for culfw-based devices
[hmcfgusb] / 20-hmlan.OpenWRT
CommitLineData
15bae84e
MG
1#!/bin/sh
2
9dd0407d 3if [ "${PRODUCT:0:9}" = "1b1f/c00f" -o "${PRODUCT:0:9}" = "1b1f/c010" ]; then
15bae84e
MG
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