Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 67718 Details for
Bug 63557
/etc/init.d/gpsd (New init script)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gpsd init script
gpsd (text/plain), 788 bytes, created by
Daniel Willmann
on 2005-09-06 02:10:10 UTC
(
hide
)
Description:
gpsd init script
Filename:
MIME Type:
Creator:
Daniel Willmann
Created:
2005-09-06 02:10:10 UTC
Size:
788 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >#NB: Config is in /etc/conf.d/gpsd > >depend() { > need localmount > use hotplug logger >} > >check_config() { > if ! [ -c "${GPSD_PATH}" ]; then > eerror "Please make sure that GPSD_PATH is set up correctly." > return 1; > fi >} > >start() { > check_config || return 1 > ebegin "Starting gpsd" > > # If we don't set -D 2 here gpsd itself will fork and we wont > # have the right pid. > start-stop-daemon --start --quiet --pidfile /var/run/gpsd.pid \ > --make-pidfile --background --exec /usr/bin/gpsd -- -p \ > ${GPSD_PATH} ${GPSD_OPTS} -D 2 > eend ${?} >} > >stop() { > ebegin "Stopping gpsd" > start-stop-daemon --stop --quiet --pidfile /var/run/gpsd.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 63557
:
39321
| 67718 |
67719