Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 352552 Details for
Bug 474630
net-p2p/cjdns - Encrypted networking for regular people
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
cjdns.runscript
cjdns.runscript (text/plain), 870 bytes, created by
Emery Hemingway
on 2013-07-03 20:34:07 UTC
(
hide
)
Description:
cjdns.runscript
Filename:
MIME Type:
Creator:
Emery Hemingway
Created:
2013-07-03 20:34:07 UTC
Size:
870 bytes
patch
obsolete
>#!/sbin/runscript >description="Encrypted networking for regular people." >command=/usr/sbin/cjdroute >name="CJDNS" > >start() { > if [ ! -e /dev/net/nut ]; then > ebegin "Inserting TUN module" > > if ! modprobe tun; then > eerror "Failed to insert TUN kernel module" > exit 1 > fi > fi > > ebegin "Starting $name" > /usr/sbin/cjdroute < /etc/cjdroute.conf > eend $? "Failed to start $name" >} > >status() { > ebegin "Pinging admin port" > exec 3<>/dev/udp/127.0.0.1/11234 > echo -n 'd1:q4:pinge' >&3 > > local pong > read -u 3 -N 11 pong 2>/dev/null > rv=$? > exec 3<&- > exec 3>&- > > if !(( $rv )) && [ "$pong" = "d1:q4:ponge" ]; then > mark_service_started $SVC > einfo "$pong" > exit 0 > fi > > mark_service_wasinactive $SVC > eerror "failed to ping admin port" > exit 1 >}
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 Raw
Actions:
View
Attachments on
bug 474630
:
351826
|
351828
|
351918
|
351920
|
352552
|
352562
|
352564
|
354670
|
354672
|
354674
|
354676
|
354678
|
375298
|
375300
|
422000
|
422002
|
422004
|
456280
|
487542