mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 16:49:53 +00:00
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
|