]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
tor: move initscripts to src/initscripts/packages and use new macro
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 22 Feb 2017 18:48:38 +0000 (19:48 +0100)
committerJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 22 Feb 2017 18:48:38 +0000 (19:48 +0100)
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
lfs/tor
src/initscripts/packages/tor [moved from src/initscripts/init.d/tor with 100% similarity]

diff --git a/lfs/tor b/lfs/tor
index be812e021ffd3b2b045650ebadc420dad8ea10a6..4da2c7c733f0ee62b9f4147ab1d01358dbd583f4 100644 (file)
--- a/lfs/tor
+++ b/lfs/tor
@@ -107,6 +107,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        install -v -m 644 $(DIR_SRC)/config/tor/defaults-torrc \
                /usr/share/tor/defaults-torrc
 
+       #install initscripts
+       $(call INSTALL_INITSCRIPT,tor)
+
        # 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