Compare commits

..

3 Commits

Author SHA1 Message Date
PierreGode
11860011fe
Merge pull request #116 from PierreGode/ubuntu25
Support for Ubuntu25
2025-04-25 07:49:44 +02:00
PierreGode
0d9bc547ed
Update README.md 2025-04-25 07:48:53 +02:00
PierreGode
8c6827fe81
Update ADconnection.sh 2025-04-25 07:47:52 +02:00
2 changed files with 5 additions and 5 deletions

View File

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

View File

@ -14,7 +14,7 @@ New: Added support for readfile for Ubuntu.
Supported OS's:<p>
<li>Ubuntu 14-24 + mate</li>
<li>Ubuntu 14-25 + mate</li>
<li>Debian 8-12</li>
<li>Cent OS</li>
<li>Rasbian</li>