|
6 | 6 | # This program is open source; you can redistribute it and/or modify it under the terms of the GNU General Public #
|
7 | 7 | # This is an normal bash script and can be executed with sh EX: ( sudo sh ADconnection.sh ) #
|
8 | 8 | # Generic user setup is: administrator, domain admins, groupnamesudores= groupname=hostname + sudoers on group name in AD groups #
|
9 |
| -# Supported OS's: Ubuntu 14-24 + mate,Debian ,Cent OS,Rasbian ,Fedora, Linux Mint,Elementary OS and Kali ( autodetect function ) # |
| 9 | +# Supported OS's: Ubuntu 14-25 + mate,Debian ,Cent OS,Rasbian ,Fedora, Linux Mint,Elementary OS and Kali ( autodetect function ) # |
10 | 10 | #This scrips is a long serie of small updates and not well planned, the script works as expected, but this is not beautiful code #
|
11 | 11 | # Maybe someday I re-do the script and make it "good code" but overall it has minimal shellcheck issues #
|
12 | 12 | ##################################################################################################################################
|
|
822 | 822 | fi
|
823 | 823 | }
|
824 | 824 |
|
825 |
| -################################ Ubuntu 14-20 ########################################### |
| 825 | +################################ Ubuntu 14-25 ########################################### |
826 | 826 | UbuntU(){
|
827 | 827 | export HOSTNAME
|
828 | 828 | myhost=$( hostname | cut -d '.' -f1 )
|
@@ -998,12 +998,12 @@ exit
|
998 | 998 | fi
|
999 | 999 | fi
|
1000 | 1000 | else
|
1001 |
| - if [ "$var" -eq "17" ] || [ "$var" -eq "18" ] || [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ] || [ "$var" -eq "24" ] |
| 1001 | + if [ "$var" -eq "17" ] || [ "$var" -eq "18" ] || [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ] || [ "$var" -eq "24" ] || [ "$var" -eq "25" ] |
1002 | 1002 | then
|
1003 | 1003 | echo "${INTRO_TEXT}Detected Ubuntu $var${END}"
|
1004 | 1004 | sleep 1
|
1005 | 1005 | clear
|
1006 |
| -if [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ] || [ "$var" -eq "24" ] |
| 1006 | +if [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ] || [ "$var" -eq "24" ] || [ "$var" -eq "25" ] |
1007 | 1007 | then
|
1008 | 1008 | if [ -f /etc/apt/sources.list.d/aroth-ubuntu-ppa-eoan.list ]
|
1009 | 1009 | then
|
|
0 commit comments