Shinobi/INSTALL/now.sh

50 lines
946 B
Bash
Raw Permalink Normal View History

2018-06-09 23:34:06 +00:00
#!/bin/bash
echo "Shinobi Installer"
echo "========"
echo "Select your OS"
echo "If your OS is not on the list please refer to the docs."
echo "========"
2020-02-07 19:53:13 +00:00
echo "1. Ubuntu - Fast and Touchless"
echo "2. Ubuntu - Advanced"
2023-09-05 18:00:47 +00:00
echo "3. Alma Linux 9.2 / Rocky 9 / CentOS 8 - Fast and Touchless (Red Hat)"
echo "4. CentOS"
2020-02-07 19:53:13 +00:00
echo "5. MacOS"
echo "6. FreeBSD"
echo "7. OpenSUSE"
2018-06-09 23:34:06 +00:00
echo "========"
read oschoicee
case $oschoicee in
"1")
2020-02-07 19:53:13 +00:00
chmod +x INSTALL/ubuntu-touchless.sh
sh INSTALL/ubuntu-touchless.sh
;;
"2")
2018-06-09 23:34:06 +00:00
chmod +x INSTALL/ubuntu.sh
sh INSTALL/ubuntu.sh
;;
2020-02-07 19:53:13 +00:00
"3")
chmod +x INSTALL/rocky9-touchless.sh
sh INSTALL/rocky9-touchless.sh
2018-06-09 23:34:06 +00:00
;;
2020-02-07 19:53:13 +00:00
"4")
chmod +x "INSTALL/CentOS - Quick Install.sh"
sh "INSTALL/CentOS - Quick Install.sh" 1
;;
"5")
2018-06-09 23:34:06 +00:00
chmod +x INSTALL/macos.sh
2019-08-17 17:07:44 +00:00
sh INSTALL/macos.sh
2018-06-09 23:34:06 +00:00
;;
2020-02-07 19:53:13 +00:00
"6")
2018-06-09 23:34:06 +00:00
chmod +x INSTALL/freebsd.sh
2019-08-17 17:07:44 +00:00
sh INSTALL/freebsd.sh
2018-06-09 23:34:06 +00:00
;;
2020-02-07 19:53:13 +00:00
"7")
2018-08-27 19:52:05 +00:00
chmod +x INSTALL/opensuse.sh
2019-08-17 17:07:44 +00:00
sh INSTALL/opensuse.sh
;;
2018-08-27 19:52:05 +00:00
2018-06-09 23:34:06 +00:00
*)
echo "Choice not found."
;;
2020-02-07 19:53:13 +00:00
esac