Stop creating a dialout group for Graywolf

Graywolf's setup created a dialout group, which nothing on Arch uses:
serial ports belong to uucp, and Graywolf's service runs as you, with
your groups. Machines that have the group keep it, in case anything else
uses it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Young
2026-11-28 14:09:46 -07:00
co-authored by Claude Opus 5.5
parent c409a6cb17
commit 4cb5ce25ff
4 changed files with 3 additions and 8 deletions
-1
View File
@@ -151,7 +151,6 @@ install_graywolf_service() {
local unit=/etc/systemd/system/graywolf.service rendered
rendered="$(sed "s|HAMPACK_USER|$USER|g; s|HAMPACK_HOME|$HOME|g" "$SELF/systemd/graywolf.service")"
mkdir -p "$HOME/.local/share/graywolf"
getent group dialout > /dev/null || sudo groupadd dialout || return 1
if [ "$(cat "$unit" 2> /dev/null)" != "$rendered" ]; then
echo "Installing $unit..."