From f63b001ca7ff5f1d75c4d1bea32fbfe65b120a9d Mon Sep 17 00:00:00 2001 From: Lloyd Date: Fri, 6 Mar 2026 14:40:15 +0000 Subject: [PATCH] fix typos in manage.sh --- manage.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manage.sh b/manage.sh index 6c8dd02..875c111 100755 --- a/manage.sh +++ b/manage.sh @@ -266,6 +266,7 @@ install_repeater() { useradd --system --home /var/lib/pymc_repeater --shell /sbin/nologin "$SERVICE_USER" fi + ( echo "10"; echo "# Adding user to hardware groups..." for grp in plugdev dialout gpio i2c spi; do getent group "$grp" >/dev/null 2>&1 && usermod -a -G "$grp" "$SERVICE_USER" 2>/dev/null || true @@ -831,6 +832,7 @@ uninstall_repeater() { systemctl stop "$SERVICE_NAME" 2>/dev/null || true systemctl disable "$SERVICE_NAME" 2>/dev/null || true + ( echo "20"; echo "# Backing up configuration..." if [ -d "$CONFIG_DIR" ]; then cp -r "$CONFIG_DIR" "/tmp/pymc_repeater_config_backup_$(date +%Y%m%d_%H%M%S)" 2>/dev/null || true