mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
422 B

  1. #!/bin/sh
  2. #
  3. # ROCK Linux: /etc/rc.d/init.d/ospf6d
  4. #
  5. # Desc: OSPF daemon for IPv6
  6. #
  7. # Runlevel: 25 rcX
  8. #
  9. main_begin
  10. block_begin(start, `Starting ospf6d.')
  11. check(`D_prefix/sbin/ospf6d -d')
  12. block_end
  13. block_begin(stop, `Stopping ospf6d.')
  14. check(`killall -15 D_prefix/sbin/ospf6d')
  15. block_end
  16. block_begin(restart, `Restarting ospf6d.')
  17. check(`killall -1 D_prefix/sbin/ospf6d')
  18. block_end
  19. main_end