Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 246113 Details for
Bug 195461
ebuild request: openl2tp
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
openl2tpd init script
openl2tpd.initd (text/plain), 1.26 KB, created by
Andrew Savchenko
on 2010-09-05 10:44:31 UTC
(
hide
)
Description:
openl2tpd init script
Filename:
MIME Type:
Creator:
Andrew Savchenko
Created:
2010-09-05 10:44:31 UTC
Size:
1.26 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >userpc="yes" > >bin=/usr/sbin/openl2tpd >pid=/var/run/openl2tpd.pid >[[ -z "${OPENL2TPD_CONFIG_FILE}" ]] && OPENL2TPD_CONFIG_FILE="/etc/openl2tpd.conf" > >depend() { > need net > [[ userpc == "yes" ]] && need portmap > use racoon ipsec >} > >check_module () >{ > if ! [[ -f /proc/net/pppol2tp ]]; then > ebegin "Loading pppol2tp module" > modprobe pppol2tp > eend $? > fi >} > >start(){ > check_module > ebegin "Starting openl2tpd" > # if rpc is enabled do not read config file by daemon (has bugs), > # but read by l2tpconfig instead > if [[ userpc == "yes" ]]; then > conf="/dev/null" > else > conf="${OPENL2TPD_CONFIG_FILE}" > fi > > start-stop-daemon --start --quiet --exec ${bin} --pidfile ${pid} \ > -- -c "$conf" ${OPENL2TPDARGS} > > # it is possible to not to have config at all > if [[ userpc == "yes" ]] && [[ -r "${OPENL2TPD_CONFIG_FILE}" ]]; then > l2tpconfig config restore file="${OPENL2TPD_CONFIG_FILE}" > fi > eend $? >} > >stop(){ > ebegin "Stopping openl2tpd" > start-stop-daemon --stop --quiet --exec ${bin} --pidfile ${pid} > eend $? >} > >restart(){ > svc_stop > sleep 2 > svc_start >}
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 195461
:
141597
|
141602
|
160077
|
160079
|
161722
|
240847
|
240849
|
240851
|
240853
|
240855
|
240857
|
240859
|
240861
|
241675
|
241677
|
246100
|
246102
|
246104
|
246105
|
246107
|
246113
|
246114
|
246624
|
246625
|
249763
|
249764
|
249778
|
251061
|
275687
|
275689
|
275691
|
275693
|
275695
|
275697
|
275699
|
275701
|
275803
|
275805
|
275807
|
275845
|
275847
|
275851
|
275861
|
275863
|
275865
|
276449
|
446912