summaryrefslogtreecommitdiff
path: root/init/redhat/ospfd.init
diff options
context:
space:
mode:
authorpaul <paul>2003-01-18 01:46:14 +0000
committerpaul <paul>2003-01-18 01:46:14 +0000
commite5de4aa13cd9ddf608db2c073781aa5c832dd8c8 (patch)
treec2bcad32c1923bdc449bd64666fa2fd2e4873a46 /init/redhat/ospfd.init
parent9ab6812d1dd27813f3ae01624312edc21c1a0bb6 (diff)
Removed out of date init/redhat.
ports/redhat is current.
Diffstat (limited to 'init/redhat/ospfd.init')
-rw-r--r--init/redhat/ospfd.init45
1 files changed, 0 insertions, 45 deletions
diff --git a/init/redhat/ospfd.init b/init/redhat/ospfd.init
deleted file mode 100644
index d7453b6e..00000000
--- a/init/redhat/ospfd.init
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-#
-# chkconfig: - 16 84
-# description: An OSPF v2 routing engine for use with Zebra
-#
-# processname: ospfd
-# config: /etc/ospfd.conf
-
-# source function library
-. /etc/rc.d/init.d/functions
-
-RETVAL=0
-
-[ -f /etc/ospfd.conf ] || exit 0
-
-case "$1" in
- start)
- echo -n "Starting ospfd: "
- daemon /usr/sbin/ospfd -d
- RETVAL=$?
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/ospfd
- echo
- ;;
- stop)
- echo -n "Shutting down ospfd: "
- killproc ospfd
- RETVAL=$?
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/ospfd
- echo
- ;;
- restart)
- $0 stop
- $0 start
- RETVAL=$?
- ;;
- status)
- status ospfd
- RETVAL=$?
- ;;
- *)
- echo "Usage: ospfd {start|stop|restart|status}"
- exit 1
-esac
-
-exit $RETVAL