tor cant be stopped by the init script because the user tor cant create a the 
file /var/run/tor.pid
beacuse /var/run isnt writeable by users other then root ....
so heres a tar init patch to get stop wroking :)
and tor is updated too

greets




Index: net/tor/files/tor.init
===================================================================
--- net/tor/files/tor.init      (Revision 12065)
+++ net/tor/files/tor.init      (Arbeitskopie)
@@ -15,7 +15,8 @@
        [ -f $DEFAULT ] && . $DEFAULT
        [ -d $LIB_D ] || mkdir -p $LOG_D
        [ -d $LIB_D ] || ( mkdir -p $LIB_D && chown $RUN_USER:$RUN_GROUP $LIB_D 
)
-       [ -d $RUN_D ] || mkdir -p $RUN_D
+       [ -d $RUN_D ] || mkdir -p $RUN_D
+       [ -f $PID_F ] || ( touch $PID_F && chown $RUN_USER:$RUN_GROUP $PID_F )
        $BIN $OPTIONS
 }

Index: net/tor/Makefile
===================================================================
--- net/tor/Makefile    (Revision 12065)
+++ net/tor/Makefile    (Arbeitskopie)
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk

 PKG_NAME:=tor
-PKG_VERSION:=0.2.0.28-rc
+PKG_VERSION:=0.2.0.30
 PKG_RELEASE:=1

 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.torproject.org/dist/
-PKG_MD5SUM:=d65dd5c9e1f82912aa0c736c5daec22d
+PKG_MD5SUM:=d37b582ee35b4f69564b0635a449b5f6

 include $(INCLUDE_DIR)/package.mk
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to