ProxmoxVED/install/ebusd-install.sh
CanbiZ (MickLesk) 9c03a5dcd6
Update install/ebusd-install.sh
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-01-26 21:24:54 +01:00

37 lines
1.0 KiB
Bash

#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: Joerg Heinemann (heinemannj)
# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE
# Source: https://github.com/john30/ebusd
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
setup_deb822_repo \
"ebusd" \
"https://raw.githubusercontent.com/john30/ebusd-debian/master/ebusd.gpg" \
"https://repo.ebusd.eu/apt/default/bookworm/" \
"bookworm" \
"main"
msg_info "Installing ebusd"
$STD apt install -y ebusd
msg_ok "Installed ebusd"
msg_info "Follow below instructions to make the daemon autostart:"
msg_info "1. Edit '/etc/default/ebusd' if necessary (especially if your device is not '/dev/ttyUSB0')"
msg_info "2. Start the daemon with 'systemctl start ebusd'"
msg_info "3. Check the daemon status with 'systemctl status ebusd'"
msg_info "4. Check the log file '/var/log/ebusd.log'"
msg_info "5. Make the daemon autostart with 'systemctl enable ebusd'"
motd_ssh
customize
cleanup_lxc