Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 296949 Details for
Bug 396045
net-dialup/gnuradius should install startup files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init.d file
gnuradius.initd.txt (text/plain), 1.05 KB, created by
Oleg Gawriloff
on 2011-12-26 09:10:52 UTC
(
hide
)
Description:
init.d file
Filename:
MIME Type:
Creator:
Oleg Gawriloff
Created:
2011-12-26 09:10:52 UTC
Size:
1.05 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >opts="reload" > >config_dir=${config_dir:-/etc/raddb} >pidfile_dir=${pidfile_dir:-/var/run} > > >depend() { > need net >} > >checkconfig() { > if [ ! -e ${config_dir}/config ]; then > eerror "You need ${config_dir}/config" > return 1 > fi >} > >start() { > checkconfig || return 1 > ebegin "Starting radiusd" > start-stop-daemon --start --pidfile ${pidfile_dir}/radiusd.pid --quiet --exec /usr/sbin/radiusd -- -d ${config_dir} ${RADIUSD_OPTIONS} >/dev/null 2>&1 > eend $? >} > >stop() { > checkconfig || return 1 > ebegin "Stopping radiusd" > start-stop-daemon --stop --pidfile ${pidfile_dir}/radiusd.pid --quiet --exec /usr/sbin/radiusd >/dev/null 2>&1 > eend $? >} > >reload() { > checkconfig || return 1 > ebegin "Reloading radiusd" > killall -HUP `cat ${pidfile_dir}/radiusd.pid` &>/dev/null > 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 396045
: 296949 |
296951