Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 287569 Details for
Bug 371357
net-misc/tinc - tincd script does not use syslog because it is hard-coded on the command line
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adds initd script when USE flag syslog disabled
tincdnosyslog.patch (text/plain), 1.80 KB, created by
Francesco Saverio Proto
on 2011-09-24 00:48:43 UTC
(
hide
)
Description:
adds initd script when USE flag syslog disabled
Filename:
MIME Type:
Creator:
Francesco Saverio Proto
Created:
2011-09-24 00:48:43 UTC
Size:
1.80 KB
patch
obsolete
>diff -r c9d2b943282d -r dbb67bd25965 files/tincdnosyslog >--- /dev/null Thu Jan 01 00:00:00 1970 +0000 >+++ b/files/tincdnosyslog Fri Aug 19 14:13:18 2011 +0200 >@@ -0,0 +1,64 @@ >+#!/sbin/runscript >+# Copyright 1999-2004 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd,v 1.5 2008/04/01 14:08:45 dragonheart Exp $ >+ >+opts="reload" >+ >+depend() { >+ use logger dns >+ need net >+} >+ >+checkconfig() { >+ if ! grep -q '^ *NETWORK:' /etc/conf.d/tinc.networks >+ then >+ eerror "No VPN networks configured in /etc/conf.d/tinc.networks" >+ return 1 >+ fi >+} >+ >+start() { >+ checkconfig || return 1 >+ ebegin "Starting tinc VPN networks" >+ eend 0 >+ awk '/^ *NETWORK:/ { print $2 }' /etc/conf.d/tinc.networks | while read TINCNET >+ do >+ if [ ! -f /etc/tinc/"$TINCNET"/tinc.conf ] >+ then >+ eerror "Cannot start network $TINCNET, /etc/tinc/$TINCNET/tinc.conf does not exist !" >+ else >+ ebegin "Starting tinc network $TINCNET" >+ /usr/sbin/tincd --net="$TINCNET" --logfile=/var/log/tinc.$TINCNET.log --pidfile=/var/run/tinc.$TINCNET.pid >+ eend $? >+ fi >+ done >+} >+ >+stop() { >+ ebegin "Stopping tinc VPN networks" >+ eend 0 >+ awk '/^ *NETWORK:/ { print $2 }' /etc/conf.d/tinc.networks | while read TINCNET >+ do >+ if [ -f /var/run/tinc."$TINCNET".pid ] >+ then >+ ebegin "Stopping tinc network $TINCNET" >+ /usr/sbin/tincd --kill --pidfile=/var/run/tinc."$TINCNET".pid >+ eend $? >+ fi >+ done >+} >+ >+reload() { >+ ebegin "Reloading configuration for tinc VPN networks" >+ eend 0 >+ awk '/^ *NETWORK:/ { print $2 }' /etc/conf.d/tinc.networks | while read TINCNET >+ do >+ if [ -f /var/run/tinc."$TINCNET".pid ] >+ then >+ ebegin "Reloading tinc network $TINCNET" >+ /usr/sbin/tincd --kill HUP --pidfile=/var/run/tinc."$TINCNET".pid >+ eend $? >+ fi >+ done >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 371357
:
283897
|
283899
|
287565
|
287567
| 287569