mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-29 19:53:42 +01:00
Update openhab-install.sh
This commit is contained in:
parent
006b29fc55
commit
7797589a7e
@ -33,11 +33,11 @@ msg_info "Installing openHAB"
|
|||||||
curl -fsSL "https://openhab.jfrog.io/artifactory/api/gpg/key/public" | gpg --dearmor >openhab.gpg
|
curl -fsSL "https://openhab.jfrog.io/artifactory/api/gpg/key/public" | gpg --dearmor >openhab.gpg
|
||||||
mv openhab.gpg /usr/share/keyrings
|
mv openhab.gpg /usr/share/keyrings
|
||||||
chmod u=rw,g=r,o=r /usr/share/keyrings/openhab.gpg
|
chmod u=rw,g=r,o=r /usr/share/keyrings/openhab.gpg
|
||||||
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/openhab.gpg] https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main" > /etc/apt/sources.list.d/openhab.list'
|
echo "deb [signed-by=/usr/share/keyrings/openhab.gpg] https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main" > /etc/apt/sources.list.d/openhab.list
|
||||||
$STD apt update
|
$STD apt update
|
||||||
$STD apt-get -y install openhab
|
$STD apt-get -y install openhab
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
$STD systemctl enable --now openhab.service
|
systemctl enable -q --now openhab.service
|
||||||
msg_ok "Installed openHAB"
|
msg_ok "Installed openHAB"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
Loading…
Reference in New Issue
Block a user