diff --git a/LICENSE b/LICENSE index 547d63d..4eba170 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) . All rights reserved. +Copyright (c) 2019 Austin Ewens . All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. diff --git a/bin/.gitkeep b/bin/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/.gitkeep b/data/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/etc/ldap/.gitkeep b/etc/ldap/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/etc/secrets/.gitkeep b/etc/secrets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/etc/skel/.gitkeep b/etc/skel/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/home/.gitkeep b/home/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..530eaa2 --- /dev/null +++ b/setup.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +mkdir -p /center/{bin,data,etc,home} +cp bin/* /center/bin/ +cp data/* /center/data/ +cp etc/* /center/etc/ +cp home/* /center/home/ +chmod 700 /center/bin +chmod -R 700 /center/etc/ldap +chmod -R 700 /center/etc/secrets +chmod -R 755 /center/etc/skel +cd /tmp +git clone https://tildegit.org/center/ldap-users.git +cp /tmp/ldap-users/bin/* /center/bin/ +cp /tmp/ldap-users/etc/* /center/etc/ldap/ \ No newline at end of file