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 :)
greets
Index: tor/files/tor.init
===================================================================
--- tor/files/tor.init (Revision 12065)
+++ tor/files/tor.init (Arbeitskopie)
@@ -15,8 +15,10 @@
[ -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
+
}
stop() {
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel