19 lines
1.1 KiB
Bash
19 lines
1.1 KiB
Bash
#!/usr/bin/env bash
|
|
printf 'Makepad Arch USB\n'
|
|
cat /var/lib/makepad-provision/status 2>/dev/null || echo 'Waiting for initial setup'
|
|
printf '\nAddresses:\n'
|
|
ip -br address show scope global
|
|
printf '\nKernel: '
|
|
uname -r
|
|
printf '\nWindows mount:\n'
|
|
findmnt /mnt/win || true
|
|
printf '\nNVIDIA:\n'
|
|
if command -v nvidia-smi >/dev/null; then nvidia-smi; else echo 'NVIDIA tools not installed yet'; fi
|
|
printf '\nServices:\n'
|
|
printf 'sshd.service active=%s enabled=%s\n' "$(systemctl is-active sshd.service || true)" "$(systemctl is-enabled sshd.service || true)"
|
|
printf 'SSH: sudo makepad-ssh show | enable | disable | reset-password\n'
|
|
printf 'makepad-wm.service active=%s enabled=%s\n' "$(systemctl is-active makepad-wm.service || true)" "$(systemctl is-enabled makepad-wm.service || true)"
|
|
printf 'AI Hub app (the WM starts it): %s\n' "$(pgrep -f makepad-app-aihub >/dev/null && echo running || echo 'not running')"
|
|
printf 'iwd.service active=%s enabled=%s\n' "$(systemctl is-active iwd.service || true)" "$(systemctl is-enabled iwd.service || true)"
|
|
printf 'Wi-Fi: use iwctl after package setup completes.\n'
|
|
printf '\nSetup log: sudo journalctl -u makepad-provision -f\n'
|