final initial fixes
This commit is contained in:
30
install.sh
30
install.sh
@@ -13,6 +13,13 @@ print_logo() {
|
|||||||
██║ ██║██║ ██║██║ ╚═╝ ██║██║ ██║ ██║╚██████╗██║ ██╗
|
██║ ██║██║ ██║██║ ╚═╝ ██║██║ ██║ ██║╚██████╗██║ ██╗
|
||||||
╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝
|
╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝
|
||||||
|
|
||||||
|
███████╗███████╗██████╗ ██╗ ██╗███████╗██████╗
|
||||||
|
██╔════╝██╔════╝██╔══██╗██║ ██║██╔════╝██╔══██╗
|
||||||
|
███████╗█████╗ ██████╔╝██║ ██║█████╗ ██████╔╝
|
||||||
|
╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██╔══╝ ██╔══██╗
|
||||||
|
███████║███████╗██║ ██║ ╚████╔╝ ███████╗██║ ██║
|
||||||
|
╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
@@ -147,24 +154,31 @@ else
|
|||||||
echo "Cloudlog is already installed, skipping."
|
echo "Cloudlog is already installed, skipping."
|
||||||
fi
|
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
|
# Install Compiled Servers
|
||||||
|
|
||||||
echo "Installing compiled servers..."
|
echo "Installing compiled servers..."
|
||||||
. install-compiled.sh
|
. install-compiled.sh
|
||||||
|
|
||||||
if ! ls /usr/lib/modules/$(uname -r) > /dev/null 2>&1; then
|
echo ""
|
||||||
echo "HamPack is installed. A newer kernel has been installed, a reboot is recommended."
|
echo "HamPackServer is installed successfully!"
|
||||||
read -rp "Reboot now? [y/N] " response
|
echo ""
|
||||||
|
read -rp "A reboot is required to complete setup. Reboot now? [y/N] " response
|
||||||
case "$response" in
|
case "$response" in
|
||||||
[yY][eE][sS]|[yY])
|
[yY][eE][sS]|[yY])
|
||||||
echo "Rebooting..."
|
echo "Rebooting..."
|
||||||
sudo reboot
|
sudo reboot
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Reboot skipped. Please remember to reboot when convenient."
|
echo "Reboot skipped. Please reboot when convenient."
|
||||||
exit 0
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
|
||||||
echo "Ham Pack is installed. Reboot when convenient."
|
|
||||||
fi
|
|
||||||
Reference in New Issue
Block a user