forked from libretro/Lakka-LibreELEC
22 lines
437 B
Bash
22 lines
437 B
Bash
#!/bin/sh
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
|
|
|
. /etc/profile
|
|
|
|
oe_setup_addon driver.dvb.hdhomerun
|
|
|
|
if [ "$SUSPEND_DRIVER" = "true" ]; then
|
|
case "$1" in
|
|
pre)
|
|
killall -9 userhdhomerun &>/dev/null
|
|
rmmod dvb_hdhomerun_fe &>/dev/null
|
|
rmmod dvb_hdhomerun &>/dev/null
|
|
rmmod dvb_hdhomerun_core &>/dev/null
|
|
;;
|
|
post)
|
|
;;
|
|
esac
|
|
fi
|