[daab0f]: initscript / Gentoo / mbm-gpsd.in  Maximize  Restore  History

Download this file

24 lines (19 with data), 547 Bytes

#!/sbin/runscript
# Copyright (c) 2008 Saleem Abdulrasool <compnerd@compnerd.org>
# Distributed under the terms of the GNU General Purpose License v2
# $Header: $

depend() {
   need hald
}

start() {
   ebegin "Starting mbm-gpsd"
   start-stop-daemon --start --quiet --pidfile /var/run/mbm-gpsd.pid \
      --exec /usr/sbin/mbm-gpsd -- --pid-file /var/run/mbm-gpsd.pid
   eend $?
}

stop() {
   ebegin "Stopping mbm-gpsd"
   start-stop-daemon --stop --quiet --pidfile /var/run/mbm-gpsd.pid
   eend $?
}

# vim: set ft=gentoo-init-d ts=3 sw=3 et:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks