#!/bin/sh case "$1" in install) if [ -n "$(lspci -m | grep '"1131" "7146" "13c2" "000a"')" ]; then echo "options dvb-ttpci freq_shift=-250" >> /etc/modprob.d/custom.conf fi ;; uninstall) ;; depend) ;; *) echo "Usage $0 {install | uninstall | depend}" >&2 exit 1 esac