diff --git a/bin/install_hyperion.sh b/bin/install_hyperion.sh index e279f816..3efdf57f 100755 --- a/bin/install_hyperion.sh +++ b/bin/install_hyperion.sh @@ -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