Browse Source

Add installation script for FirewallFalcon Manager

firewallfalcons 5 months ago
parent
commit
dafaa9d939
1 changed files with 17 additions and 0 deletions
  1. 17 0
      install.sh

+ 17 - 0
install.sh

@@ -0,0 +1,17 @@
+#!/bin/bash
+
+if [[ $EUID -ne 0 ]]; then
+   echo "Error: This script must be run as root."
+   exit 1
+fi
+
+echo "Installing FirewallFalcon Manager..."
+
+MENU_URL="https://raw.githubusercontent.com/firewallfalcons/FirewallFalcon-Manager/main/menu.sh"
+
+wget -q -O /usr/local/bin/menu "$MENU_URL"
+chmod +x /usr/local/bin/menu
+
+/usr/local/bin/menu --install-setup
+
+echo "Installation complete! Type 'menu' to start."