Browse Source

Add ifstated(8) startup bits.

OK deraadt@, henning@, mcbride@
OPENBSD_4_1
mpf 18 years ago
parent
commit
e960c0c63e
2 changed files with 7 additions and 2 deletions
  1. +5
    -1
      src/etc/rc
  2. +2
    -1
      src/etc/rc.conf

+ 5
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.290 2006/09/01 01:18:02 mpf Exp $
# $OpenBSD: rc,v 1.291 2006/09/27 19:54:36 mpf 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.
@ -574,6 +574,10 @@ if [ X"${bgpd_flags}" != X"NO" ]; then
echo -n ' bgpd'; /usr/sbin/bgpd $bgpd_flags echo -n ' bgpd'; /usr/sbin/bgpd $bgpd_flags
fi fi
if [ X"${ifstated_flags}" != X"NO" ]; then
echo -n ' ifstated'; ifstated $ifstated_flags
fi
if [ X"${dhcpd_flags}" != X"NO" -a -f /etc/dhcpd.conf ]; then if [ X"${dhcpd_flags}" != X"NO" -a -f /etc/dhcpd.conf ]; then
touch /var/db/dhcpd.leases touch /var/db/dhcpd.leases
if [ -f /etc/dhcpd.interfaces ]; then if [ -f /etc/dhcpd.interfaces ]; then


+ 2
- 1
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: rc.conf,v 1.116 2006/06/02 21:32:50 mcbride Exp $
# $OpenBSD: rc.conf,v 1.117 2006/09/27 19:54:36 mpf Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags # set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q" routed_flags=NO # for normal use: "-q"
@ -37,6 +37,7 @@ hotplugd_flags=NO # for normal use: ""
watchdogd_flags=NO # for normal use: "" watchdogd_flags=NO # for normal use: ""
ftpproxy_flags=NO # for normal use: "" ftpproxy_flags=NO # for normal use: ""
hostapd_flags=NO # for normal use: "" hostapd_flags=NO # for normal use: ""
ifstated_flags=NO # for normal use: ""
# use -u to disable chroot, see httpd(8) # use -u to disable chroot, see httpd(8)
httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8)) httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))


Loading…
Cancel
Save