0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-05 18:37:58 +00:00
2018-07-17 23:58:49 +02:00

20 lines
390 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.sundtek-mediatv
if [ "$SUSPEND_DRIVER" = "true" ]; then
case "$1" in
pre)
systemctl stop driver.dvb.sundtek-mediatv.service
;;
post)
systemctl start driver.dvb.sundtek-mediatv.service
;;
esac
fi