summaryrefslogtreecommitdiff
path: root/init.d/20git-init
blob: 69867c4b4c8961fae5fa501c79c2d41c423f569b (plain)
1
2
3
4
5
6
#!/bin/sh
set -e
if [ ! -e .git ]; then
	git-init
	echo "$(hostname) /etc repository" > .git/description
fi