mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Hyperion update script added
Former-commit-id: 58d628e0f73fdf92e938f42a139b60b8f77a3424
This commit is contained in:
parent
64b9316a04
commit
31cb1904bf
23
bin/update_hyperion.sh
Executable file
23
bin/update_hyperion.sh
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Script for downloading and installing the latest Hyperion release
|
||||
|
||||
# Stop hyperion daemon if it is running
|
||||
initctl stop hyperion
|
||||
|
||||
wget -N github.com/tvdzwan/hyperion/raw/master/deploy/hyperiond -P /usr/bin/
|
||||
wget -N github.com/tvdzwan/hyperion/raw/master/deploy/hyperion-remote -P /usr/bin/
|
||||
|
||||
# Copy the gpio changer (gpio->spi) to the /usr/bin
|
||||
wget -N github.com/tvdzwan/hyperion/raw/master/deploy/gpio2spi -P /usr/bin/
|
||||
|
||||
# Copy the service control configuration to /etc/int
|
||||
wget -N github.com/tvdzwan/hyperion/raw/master/deploy/hyperion.conf -P /etc/init/
|
||||
|
||||
# Set permissions
|
||||
chmod +x /usr/bin/hyperiond
|
||||
chmod +x /usr/bin/hyperion-remote
|
||||
chmod +x /usr/bin/gpio2spi
|
||||
|
||||
# Start the hyperion daemon
|
||||
initctl start hyperion
|
Loading…
Reference in New Issue
Block a user