authserver/homestead/init.sh
author ymh <ymh.work@gmail.com>
Wed, 16 Sep 2015 21:41:11 +0200
changeset 142 8d5035e5adaf
parent 8 5a0cbbe0922a
permissions -rw-r--r--
change the way the user is created after a cas login
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
5a0cbbe0922a CAS Authentication (normal and proxy) + local Homestead vm
durandn
parents:
diff changeset
     1
#!/usr/bin/env bash
5a0cbbe0922a CAS Authentication (normal and proxy) + local Homestead vm
durandn
parents:
diff changeset
     2
5a0cbbe0922a CAS Authentication (normal and proxy) + local Homestead vm
durandn
parents:
diff changeset
     3
mkdir -p ~/.homestead
5a0cbbe0922a CAS Authentication (normal and proxy) + local Homestead vm
durandn
parents:
diff changeset
     4
5a0cbbe0922a CAS Authentication (normal and proxy) + local Homestead vm
durandn
parents:
diff changeset
     5
homesteadRoot=~/.homestead
5a0cbbe0922a CAS Authentication (normal and proxy) + local Homestead vm
durandn
parents:
diff changeset
     6
5a0cbbe0922a CAS Authentication (normal and proxy) + local Homestead vm
durandn
parents:
diff changeset
     7
cp -i src/stubs/Homestead.yaml $homesteadRoot/Homestead.yaml
5a0cbbe0922a CAS Authentication (normal and proxy) + local Homestead vm
durandn
parents:
diff changeset
     8
cp -i src/stubs/after.sh $homesteadRoot/after.sh
5a0cbbe0922a CAS Authentication (normal and proxy) + local Homestead vm
durandn
parents:
diff changeset
     9
cp -i src/stubs/aliases $homesteadRoot/aliases
5a0cbbe0922a CAS Authentication (normal and proxy) + local Homestead vm
durandn
parents:
diff changeset
    10
5a0cbbe0922a CAS Authentication (normal and proxy) + local Homestead vm
durandn
parents:
diff changeset
    11
echo "Homestead initialized!"