Update install_hyperion.sh

This commit is contained in:
brindosch 2016-06-14 23:12:16 +02:00 committed by GitHub
parent ebd844c87e
commit c5ecd0ffe2
1 changed files with 1 additions and 0 deletions

View File

@ -274,6 +274,7 @@ elif [ $USE_SYSTEMD -eq 1 ]; then
elif [ $USE_SERVICE -eq 1 ]; then
echo '---> Installing startup script in init.d'
# place startup script in init.d and add it to upstart (-s to respect user modified scripts)
rm $SERVICEP/hyperion
cp $SERVICEL/hyperion.init.sh $SERVICEP/hyperion 2>/dev/null ; chmod +x $SERVICEP/hyperion
update-rc.d hyperion defaults 98 02
fi