* [gentoo-commits] gentoo-x86 commit in net-misc/freenet6/files: gw6c.rc
@ 2008-02-26 19:40 Bernard Cafarelli (voyageur)
0 siblings, 0 replies; 3+ messages in thread
From: Bernard Cafarelli (voyageur) @ 2008-02-26 19:40 UTC (permalink / raw
To: gentoo-commits
voyageur 08/02/26 19:40:44
Modified: gw6c.rc
Log:
Make initscript depend on bootmisc, as the daemon writes in /tmp.
Also version bump to 5.1, and fix quoting
(Portage version: 2.1.4.4)
Revision Changes Path
1.2 net-misc/freenet6/files/gw6c.rc
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/gw6c.rc?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/gw6c.rc?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/gw6c.rc?r1=1.1&r2=1.2
Index: gw6c.rc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/freenet6/files/gw6c.rc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gw6c.rc 16 Apr 2007 18:45:09 -0000 1.1
+++ gw6c.rc 26 Feb 2008 19:40:44 -0000 1.2
@@ -3,7 +3,8 @@
FREENET6_CLIENT="/usr/sbin/gw6c"
depend() {
- need net
+ need net localmount
+ after bootmisc
use dns logger
}
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-misc/freenet6/files: gw6c.rc
@ 2008-02-27 10:32 Bernard Cafarelli (voyageur)
0 siblings, 0 replies; 3+ messages in thread
From: Bernard Cafarelli (voyageur) @ 2008-02-27 10:32 UTC (permalink / raw
To: gentoo-commits
voyageur 08/02/27 10:32:35
Modified: gw6c.rc
Log:
Add tun module detection/load to init script
(Portage version: 2.1.4.4)
Revision Changes Path
1.3 net-misc/freenet6/files/gw6c.rc
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/gw6c.rc?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/gw6c.rc?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/gw6c.rc?r1=1.2&r2=1.3
Index: gw6c.rc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/freenet6/files/gw6c.rc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gw6c.rc 26 Feb 2008 19:40:44 -0000 1.2
+++ gw6c.rc 27 Feb 2008 10:32:35 -0000 1.3
@@ -8,7 +8,22 @@
use dns logger
}
+checkconfig() {
+ if [ $(uname -s) = "Linux" ] ; then
+ if [ ! -e /dev/net/tun ]; then
+ if ! modprobe tun ; then
+ eerror "TUN/TAP support is not available" \
+ "in this kernel"
+ return 1
+ fi
+ fi
+ fi
+ return 0
+}
+
start() {
+ checkconfig || return 1
+
ebegin "Starting Freenet6 IPv6 Client"
start-stop-daemon --start --quiet \
--exec $FREENET6_CLIENT -- -f /etc/freenet6/gw6c.conf
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-misc/freenet6/files: gw6c.rc
@ 2008-12-30 13:36 Bernard Cafarelli (voyageur)
0 siblings, 0 replies; 3+ messages in thread
From: Bernard Cafarelli (voyageur) @ 2008-12-30 13:36 UTC (permalink / raw
To: gentoo-commits
voyageur 08/12/30 13:36:54
Modified: gw6c.rc
Log:
Stopping the tunnel needs SIGHUP, thanks Christian Limberg <barneyman@gmx.de> in bug #252186
(Portage version: 2.2_rc20/cvs/Linux 2.6.26-gentoo x86_64)
Revision Changes Path
1.4 net-misc/freenet6/files/gw6c.rc
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/gw6c.rc?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/gw6c.rc?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/gw6c.rc?r1=1.3&r2=1.4
Index: gw6c.rc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/freenet6/files/gw6c.rc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gw6c.rc 27 Feb 2008 10:32:35 -0000 1.3
+++ gw6c.rc 30 Dec 2008 13:36:54 -0000 1.4
@@ -32,6 +32,6 @@
stop() {
ebegin "Stopping Freenet6 IPv6 Client"
- start-stop-daemon --stop --quiet --exec $FREENET6_CLIENT
+ start-stop-daemon --stop --quiet -s HUP --exec $FREENET6_CLIENT
eend $?
}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-30 13:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-27 10:32 [gentoo-commits] gentoo-x86 commit in net-misc/freenet6/files: gw6c.rc Bernard Cafarelli (voyageur)
-- strict thread matches above, loose matches on Subject: below --
2008-12-30 13:36 Bernard Cafarelli (voyageur)
2008-02-26 19:40 Bernard Cafarelli (voyageur)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox