Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 333978 Details for
Bug 448054
net-dialup/accel-ppp - high performance VPN server
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
accel-ppp.initd
accel-ppp.initd (text/plain), 1.19 KB, created by
Sergey Popov (RETIRED)
on 2013-01-01 21:18:04 UTC
(
hide
)
Description:
accel-ppp.initd
Filename:
MIME Type:
Creator:
Sergey Popov (RETIRED)
Created:
2013-01-01 21:18:04 UTC
Size:
1.19 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: $ > >extra_started_commands="reload" > >depend() { > need net >} > >check_dir() { ># Check for directory existance, try to create it(if it's not exist yet) ># and throw error if it can not be done. ># Parameters: ># $1 - directory to check ># $2 - error message > if [[ ! -d $1 ]]; then > mkdir "$1" 2>/dev/null > if [[ $? != 0 ]]; then > eerror "$2" > exit 1 > fi > fi >} > >start() { > # Create directory for PID file > local piddir=$(dirname ${PID}) > check_dir "${piddir}" "Can not create directory $piddir for PID file" > # Create default directory for radius attributes > check_dir "${RADATTR_DIR}" "Can not create directory ${RADATTR_DIR} for radius attributes" > > ebegin "Starting accel-pppd" > start-stop-daemon --start --quiet --exec /usr/sbin/accel-pppd -- ${ACCEL_PPPD_OPTS} -p ${PID} > eend $? >} > >stop() { > ebegin "Stopping accel-pppd" > start-stop-daemon --stop --quiet --pidfile ${PID} > eend $? >} > >reload() { > if [ ! -f ${PID} ]; then > eerror "accel-pppd isn't running" > return 1 > fi > ebegin "Reloading configuration" > start-stop-daemon --signal USR1 --pidfile ${PID} > eend $? >}
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 448054
:
332886
|
332888
|
332890
|
333458
|
333512
|
333514
|
333516
|
333524
|
333554
|
333556
|
333972
|
333974
|
333976
| 333978