also kill 'hyperion-x11' processes
This commit is contained in:
parent
7d5fe512d1
commit
75008d4a0d
|
@ -81,6 +81,7 @@ SERVICEL="/usr/share/hyperion/services"
|
||||||
echo '---> Stop Hyperion, if necessary'
|
echo '---> Stop Hyperion, if necessary'
|
||||||
if [ $OS_OPENELEC -eq 1 ]; then
|
if [ $OS_OPENELEC -eq 1 ]; then
|
||||||
killall hyperiond 2>/dev/null
|
killall hyperiond 2>/dev/null
|
||||||
|
killall hyperion-x11 2>/dev/null
|
||||||
elif [ $USE_SYSTEMD -eq 1 ]; then
|
elif [ $USE_SYSTEMD -eq 1 ]; then
|
||||||
service hyperion stop 2>/dev/null
|
service hyperion stop 2>/dev/null
|
||||||
SERVICEP="/etc/systemd/system"
|
SERVICEP="/etc/systemd/system"
|
||||||
|
|
|
@ -58,6 +58,7 @@ SERVICEC=1
|
||||||
echo '---> Stop Hyperion, if necessary'
|
echo '---> Stop Hyperion, if necessary'
|
||||||
if [ $OS_OPENELEC -eq 1 ]; then
|
if [ $OS_OPENELEC -eq 1 ]; then
|
||||||
killall hyperiond 2>/dev/null
|
killall hyperiond 2>/dev/null
|
||||||
|
killall hyperion-x11 2>/dev/null
|
||||||
elif [ $USE_SYSTEMD -eq 1 ]; then
|
elif [ $USE_SYSTEMD -eq 1 ]; then
|
||||||
systemctl stop hyperion 2>/dev/null
|
systemctl stop hyperion 2>/dev/null
|
||||||
elif [ $USE_INITCTL -eq 1 ]; then
|
elif [ $USE_INITCTL -eq 1 ]; then
|
||||||
|
|
Loading…
Reference in New Issue