summaryrefslogtreecommitdiff
path: root/etc-init.d/20git-init
diff options
context:
space:
mode:
Diffstat (limited to 'etc-init.d/20git-init')
-rwxr-xr-xetc-init.d/20git-init5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc-init.d/20git-init b/etc-init.d/20git-init
new file mode 100755
index 0000000..7bf1c89
--- /dev/null
+++ b/etc-init.d/20git-init
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+if [ ! -e .git ]; then
+ git-init
+fi