From 9e4945393d205da3f1a599651c6e94cbce386ecd Mon Sep 17 00:00:00 2001 From: Jan Paul Tuecking Date: Sun, 18 Aug 2013 12:42:24 +0200 Subject: [PATCH] tor: added startup files --- lfs/tor | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lfs/tor b/lfs/tor index 8bce4be8f..ae63d961a 100644 --- a/lfs/tor +++ b/lfs/tor @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = tor -PAK_VER = 1 +PAK_VER = 2 DEPS = "libevent2" @@ -107,6 +107,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) install -v -m 644 $(DIR_SRC)/config/tor/defaults-torrc \ /usr/share/tor/defaults-torrc + # Install start links and backup include file. + ln -sf ../init.d/tor /etc/rc.d/rc3.d/S60tor + ln -sf ../init.d/tor /etc/rc.d/rc0.d/K40tor + ln -sf ../init.d/tor /etc/rc.d/rc6.d/K40tor install -v -m 644 $(DIR_SRC)/config/backup/includes/tor \ /var/ipfire/backup/addons/includes/tor @rm -rf $(DIR_APP) -- 2.39.2