Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 83803 Details for
Bug 105386
Hamachi - secure mediated peer to peer (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/hamachi.initd
hamachi.initd (text/plain), 1.45 KB, created by
Mark Davies
on 2006-04-03 06:02:59 UTC
(
hide
)
Description:
files/hamachi.initd
Filename:
MIME Type:
Creator:
Mark Davies
Created:
2006-04-03 06:02:59 UTC
Size:
1.45 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >opts="start stop status init" > >depend() { > need net tuncfg >} > >start() { > check_config > ebegin "Starting hamachi" > start-stop-daemon --quiet --start -c ${USER} \ > --exec /usr/bin/hamachi -- \ > -c $CONFDIR start &>${LOG} & > result=$? > > if [ $result == 0 ]; then > sleep 1 > chown -R $USER:$GROUP $CONFDIR/ipc_sock > chmod g+rwx $CONFDIR/ipc_sock > /usr/bin/hamachi -c $CONFDIR login > if [ -z "$(/usr/bin/hamachi -c $CONFDIR | grep 'logged in')" ]; then > result=1 > /usr/bin/hamachi -c $CONFDIR stop &>${LOG} > fi > fi; > eend $result >} > >stop() { > ebegin "Stopping hamachi" > /usr/bin/hamachi -c $CONFDIR logout &>${LOG} > /usr/bin/hamachi -c $CONFDIR stop &>${LOG} > eend $? >} > >init() { > ebegin "Making initial configuration" > /usr/bin/hamachi-init -c $CONFDIR 2>&1> /dev/null > chown -R $USER:$GROUP $CONFDIR > chmod g+rx $CONFDIR > eend $? >} > >check_config() { > if [ ! -d $CONFDIR ] ; then > einfo "It seems you don't have configured hamachi yet. Running init now" > init > fi >} > >status() { > service_started "${myservice}" || return 0 > /usr/bin/hamachi -c $CONFDIR > /usr/bin/hamachi -c $CONFDIR list >}
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 105386
:
69304
|
69305
|
69308
|
69336
|
74903
|
78467
|
80763
|
80911
|
82846
|
83801
|
83802
| 83803 |
83804
|
83805
|
83806
|
83807
|
90092
|
90094
|
90095
|
90097
|
91069
|
91070
|
92499
|
92501
|
92789
|
92831
|
92929
|
92930
|
92931