From 0973a0b09e4abca32518e9bf3d49ecb9a0023771 Mon Sep 17 00:00:00 2001 From: brindosch Date: Sat, 11 Jun 2016 00:40:56 +0200 Subject: [PATCH] Update install_hyperion.sh Former-commit-id: 660073dc08465a47890a0c4a68c1d7edae7df0cb --- bin/install_hyperion.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/install_hyperion.sh b/bin/install_hyperion.sh index 185b991c..3707f68a 100755 --- a/bin/install_hyperion.sh +++ b/bin/install_hyperion.sh @@ -148,12 +148,12 @@ if [ -f "/opt/hyperion/bin/hyperiond" ]; then elif [ $OS_OPENELEC -eq 1 ]; then sleep 0 elif [ $USE_SYSTEMD -eq 1 ]; then - sed -i "s|$BPO|$BPN|g" $SERVICEP/hyperion.conf + sed -i "s|$BPO|$BPN|g" $SERVICEP/hyperion.service sed -i "s|$CPO1|$CPN|g" $SERVICEP/hyperion.service sed -i "s|$CPO2|$CPN|g" $SERVICEP/hyperion.service systemctl -q daemon-reload elif [ $USE_SERVICE -eq 1 ]; then - sed -i "s|$BPO|$BPN|g" $SERVICEP/hyperion.conf + sed -i "s|$BPO|$BPN|g" $SERVICEP/hyperion sed -i "s|$CPO1|$CPN|g" $SERVICEP/hyperion sed -i "s|$CPO2|$CPN|g" $SERVICEP/hyperion update-rc.d hyperion defaults 98 02