Initial commit for ebusd

New script for ebusd
This commit is contained in:
Joerg Heinemann
2026-01-26 15:31:48 +01:00
parent 870dc3a42f
commit f91ba71b8a
4 changed files with 140 additions and 0 deletions

39
install/ebusd-install.sh Normal file
View File

@@ -0,0 +1,39 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: Joerg Heinemann (heinemannj)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/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
msg_info "Setting up ebusd Repository"
setup_deb822_repo \
"ebusd" \
"https://raw.githubusercontent.com/john30/ebusd-debian/master/ebusd.gpg" \
"https://repo.ebusd.eu/apt/default/bookworm/" \
"bookworm" \
"main"
$STD apt update
msg_ok "ebusd Repository setup sucessfully"
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