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