rpc.gssd.initd 456 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 gssd"
  12. start-stop-daemon --start --exec /usr/bin/rpc.gssd -- ${OPTS_RPC_GSSD}
  13. eend $?
  14. }
  15. stop() {
  16. ebegin "Stopping gssd"
  17. start-stop-daemon --stop --exec /usr/bin/rpc.gssd
  18. eend $?
  19. }