From 024652e72707537bf36e6814b6d309bfb980e023 Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Mon, 12 Jun 2017 16:23:47 +0200 Subject: [PATCH] Create ADconnection.sh --- ADconnection.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index 1242285..e936d0a 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -369,7 +369,21 @@ echo "override_homedir = /home/%d/%u" >> /etc/sssd/sssd.conf eof } - +############################### Raspberry Pi ################################### +raspberry(){ +rasp=$(uname -a | grep -i raspberry | cut -d 'x' -f1 | cut -d 'y' -f2) +if [ $rasp -eq raspberr ] +then +echo "OMG do i sense a Raspberry! you sir are awesome" +sleep 2 +echo "Hold on... let me download a picture for you" +wget http://weknowmemes.com/generator/uploads/generated/g1410567650251917439.jpg +sleep 2 +echo "Lets get this bad boy Joined!" +else +echo "Something is wrong.." +fi +} ############################### Update to Realmd from likewise ################## Realmdupdate(){ export HOSTNAME