final initial fixes

This commit is contained in:
David Young
2026-04-10 13:34:22 -06:00
parent 6cd462196e
commit 8df02674c0

View File

@@ -13,6 +13,13 @@ print_logo() {
██║ ██║██║ ██║██║ ╚═╝ ██║██║ ██║ ██║╚██████╗██║ ██╗
╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝
███████╗███████╗██████╗ ██╗ ██╗███████╗██████╗
██╔════╝██╔════╝██╔══██╗██║ ██║██╔════╝██╔══██╗
███████╗█████╗ ██████╔╝██║ ██║█████╗ ██████╔╝
╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██╔══╝ ██╔══██╗
███████║███████╗██║ ██║ ╚████╔╝ ███████╗██║ ██║
╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝
EOF
@@ -147,24 +154,31 @@ else
echo "Cloudlog is already installed, skipping."
fi
# Install Cockpit
if ! pacman -Qi cockpit &> /dev/null; then
echo "Installing Cockpit..."
sudo pacman -S --noconfirm cockpit
sudo systemctl enable --now cockpit.socket
echo "Cockpit installed. Access it at http://localhost:9090"
else
echo "Cockpit is already installed, skipping."
fi
# Install Compiled Servers
echo "Installing compiled servers..."
. install-compiled.sh
if ! ls /usr/lib/modules/$(uname -r) > /dev/null 2>&1; then
echo "HamPack is installed. A newer kernel has been installed, a reboot is recommended."
read -rp "Reboot now? [y/N] " response
case "$response" in
echo ""
echo "HamPackServer is installed successfully!"
echo ""
read -rp "A reboot is required to complete setup. Reboot now? [y/N] " response
case "$response" in
[yY][eE][sS]|[yY])
echo "Rebooting..."
sudo reboot
;;
*)
echo "Reboot skipped. Please remember to reboot when convenient."
exit 0
echo "Reboot skipped. Please reboot when convenient."
;;
esac
else
echo "Ham Pack is installed. Reboot when convenient."
fi
esac