rpc.svcgssd.initd 471 B

123456789101112131415161718192021222324
  1. #!/usr/bin/openrc-run
  2. # Copyright 1999-2008 Gentoo Foundation
  3. # Distributed under the terms of the GNU General Public License v2
  4. [ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs
  5. depend() {
  6. use ypbind net
  7. need portmap rpc.pipefs
  8. after quota
  9. }
  10. start() {
  11. ebegin "Starting svcgssd"
  12. start-stop-daemon --start --exec /usr/bin/rpc.svcgssd -- ${OPTS_RPC_SVCGSSD}
  13. eend $?
  14. }
  15. stop() {
  16. ebegin "Stopping svcgssd"
  17. start-stop-daemon --stop --exec /usr/bin/rpc.svcgssd
  18. eend $?
  19. }