#!/bin/sh case "$1" in install) . /etc/init.d/rc.functions protocol="0038" if [ -n "`lsusb | grep 15c2:ffdc`" ]; then protocol="ffdc" fi register_setting "VDR_PLUGIN_ARGS_imonlcd" "-d /dev/lcd0 -p $protocol" "imonlcd-Addon settings" ;; uninstall) ;; depend) echo "vdr" echo "lirc" ;; *) echo "Usage $0 {install | uninstall | delend}" >&2 exit 1 esac