mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Added support for ubuntu 24
Added support for ubuntu 24
This commit is contained in:
parent
d8ac70d8b5
commit
8ac06e2a3b
@ -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 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 ) #
|
# 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 #
|
# Generic user setup is: administrator, domain admins, groupnamesudores= groupname=hostname + sudoers on group name in AD groups #
|
||||||
# Supported OS's: Ubuntu 14-22 + mate,Debian ,Cent OS,Rasbian ,Fedora, Linux Mint,Elementary OS and Kali ( autodetect function ) #
|
# Supported OS's: Ubuntu 14-24 + 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 #
|
#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 #
|
# Maybe someday I re-do the script and make it "good code" but overall it has minimal shellcheck issues #
|
||||||
##################################################################################################################################
|
##################################################################################################################################
|
||||||
@ -998,12 +998,12 @@ exit
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ "$var" -eq "17" ] || [ "$var" -eq "18" ] || [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ]
|
if [ "$var" -eq "17" ] || [ "$var" -eq "18" ] || [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ] || [ "$var" -eq "24" ]
|
||||||
then
|
then
|
||||||
echo "${INTRO_TEXT}Detected Ubuntu $var${END}"
|
echo "${INTRO_TEXT}Detected Ubuntu $var${END}"
|
||||||
sleep 1
|
sleep 1
|
||||||
clear
|
clear
|
||||||
if [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ]
|
if [ "$var" -eq "19" ] || [ "$var" -eq "20" ] || [ "$var" -eq "21" ] || [ "$var" -eq "22" ] || [ "$var" -eq "24" ]
|
||||||
then
|
then
|
||||||
if [ -f /etc/apt/sources.list.d/aroth-ubuntu-ppa-eoan.list ]
|
if [ -f /etc/apt/sources.list.d/aroth-ubuntu-ppa-eoan.list ]
|
||||||
then
|
then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user