bazzite/system_files/deck/shared/usr/libexec/bazzite-enable-hhd

5 lines
114 B
Bash
Executable File

#!/usr/bin/bash
systemctl enable --now hhd@$(systemd-escape $1).service
systemctl disable --now hhd@root.service