summaryrefslogtreecommitdiffstats
path: root/.scripts/autostart/Makefile
blob: 7ca589e11c17f134b43b991fec77484f60b6a520 (plain)
1
2
3
4
5
6
7
8
INIT_FOLDER=/etc/init.d
.phony: all
all:
	#TODO change the tinc file before writing
	cp tinc $(INIT_FOLDER)/tinc
	chmod +x $(INIT_FOLDER)/tinc
	echo "retiolum" > /etc/tinc/nets.boot
	update-rc.d tinc defaults