Browse Source

re-add ospfd/ospf6d support which got lost, and build scripts for them

OPENBSD_5_0
deraadt 13 years ago
parent
commit
11d112d0da
3 changed files with 25 additions and 3 deletions
  1. +3
    -3
      src/etc/rc
  2. +11
    -0
      src/etc/rc.d/ospfd
  3. +11
    -0
      src/etc/rc.d/ospfd6

+ 3
- 3
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.382 2011/07/08 22:03:56 deraadt Exp $
# $OpenBSD: rc,v 1.383 2011/07/08 22:20:05 deraadt Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -509,8 +509,8 @@ fi
echo 'preserving editor files.'; /usr/libexec/vi.recover echo 'preserving editor files.'; /usr/libexec/vi.recover
echo -n 'starting network daemons:' echo -n 'starting network daemons:'
start_daemon sshd snmpd ldpd ripd bgpd ifstated relayd dhcpd
start_daemon dhcrelay mrouted dvmrpd
start_daemon sshd snmpd ldpd ripd ospfd ospf6d bgpd ifstated
start_daemon relayd dhcpd dhcrelay mrouted dvmrpd
if ifconfig lo0 inet6 >/dev/null 2>&1; then if ifconfig lo0 inet6 >/dev/null 2>&1; then
fw=`sysctl -n net.inet6.ip6.forwarding` fw=`sysctl -n net.inet6.ip6.forwarding`


+ 11
- 0
src/etc/rc.d/ospfd View File

@ -0,0 +1,11 @@
#!/bin/sh
#
# $OpenBSD: ospfd,v 1.1 2011/07/08 22:20:07 deraadt Exp $
daemon="/usr/sbin/ospfd"
. /etc/rc.d/rc.subr
pexp="ospfd: parent.*"
rc_cmd $1

+ 11
- 0
src/etc/rc.d/ospfd6 View File

@ -0,0 +1,11 @@
#!/bin/sh
#
# $OpenBSD: ospfd6,v 1.1 2011/07/08 22:20:07 deraadt Exp $
daemon="/usr/sbin/ospfd6"
. /etc/rc.d/rc.subr
pexp="ospf6d: parent.*"
rc_cmd $1

Loading…
Cancel
Save