summaryrefslogtreecommitdiff
path: root/init.d/10restore-etckeeper
blob: f49e70ce9f5efa3d672333c858d850860b0449a9 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e

# Yes, this runs code from the repository. As documented, etckeeper-init
# should only be run on repositories you trust.
if [ -e .etckeeper ]; then
	. ./.etckeeper
else
	touch .etckeeper
fi