summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/autostart/Makefile
blob: aba6bd337c04333cc2cf3399355e708813a20780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
INIT_FOLDER=/etc/init.d
.phony: all
debian:
	#TODO change the tinc file before writing
	cp tinc /etc/init.d/tinc
	chmod +x /etc/init.d
	echo "retiolum" > /etc/tinc/nets.boot
	update-rc.d tinc defaults
arch:
	@cp tinc /etc/rc.d
	@chmod +x /etc/rc.d/tinc
	@echo "add tinc to DAEMONS in /etc/rc.conf"