mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Update install_hyperion.sh
Former-commit-id: 660073dc08465a47890a0c4a68c1d7edae7df0cb
This commit is contained in:
parent
3445c90757
commit
0973a0b09e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user