]> git.zerfleddert.de Git - hmcfgusb/blame_incremental - 20-hmlan.OpenWRT
hm: formatting
[hmcfgusb] / 20-hmlan.OpenWRT
... / ...
CommitLineData
1#!/bin/sh
2
3if [ "${PRODUCT:0:9}" = "1b1f/c00f" -o "${PRODUCT:0:9}" = "1b1f/c010" ]; 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