arch-system/rootfs/usr/local/sbin/vmware-stack
grayTerminal-sh 14e547ce56 refactor: reorganize Arch system backup and restore
Separate system configuration from Dotfiles_ArchAP.

Add package manifests, system inventories, reusable templates,
safer backup/deployment scripts, on-demand service management,
TLP and zram configuration, and updated maintenance documentation.
2026-07-26 23:25:25 +02:00

32 lines
527 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
readonly START_SERVICES=(
vmware-networks.service
vmware-usbarbitrator.service
smb.service
nmb.service
)
readonly STOP_SERVICES=(
nmb.service
smb.service
vmware-usbarbitrator.service
vmware-networks.service
)
case "${1:-}" in
start)
systemctl start "${START_SERVICES[@]}"
;;
stop)
systemctl stop "${STOP_SERVICES[@]}"
;;
*)
printf 'Usage : %s {start|stop}\n' "$0" >&2
exit 2
;;
esac