From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- packages/tor/files/tor.init | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100755 packages/tor/files/tor.init (limited to 'packages/tor/files') diff --git a/packages/tor/files/tor.init b/packages/tor/files/tor.init deleted file mode 100755 index e421347440..0000000000 --- a/packages/tor/files/tor.init +++ /dev/null @@ -1,44 +0,0 @@ - -#! /bin/sh -# -# This is an init script for Tor on Openzaurus -# - - -test -f /usr/bin/tor || exit 0 -test -f /etc/tor/tor-tsocks.conf || exit 0 - -case "$1" in - start) - echo -n "Starting tor daemon" - start-stop-daemon --start --quiet --exec /usr/bin/tor & - echo "." - ;; - stop) - echo -n "Stopping tor daemon" - start-stop-daemon --stop --quiet --exec /usr/bin/tor & - echo "." - ;; - restart) - echo -n "Stopping tor daemon" - start-stop-daemon --stop --quiet --exec /usr/bin/tor & - sleep 1 - echo -n "Starting tor daemon" - start-stop-daemon --start --quiet --exec /usr/bin/tor & - echo "." - ;; - start_socats) - echo "Starting socats" - # EXAMPLE - socat TCP4-LISTEN:6667,fork SOCKS4A:localhost:irc.freenode.net:6667,socksport=9050 & - ;; - stop_socats) - echo "Stopping all socat processes!" - killall socat - ;; - *) - echo "Usage: /etc/init.d/tor {start|stop|restart|start_socats|stop_socats}" - exit 1 -esac - -exit 0 -- cgit v1.2.3