Browse Source

altqd startup stuff

OPENBSD_3_0
deraadt 23 years ago
parent
commit
18262f6b6b
2 changed files with 9 additions and 2 deletions
  1. +7
    -1
      src/etc/rc
  2. +2
    -1
      src/etc/rc.conf

+ 7
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.178 2001/07/04 06:34:19 mickey Exp $
# $OpenBSD: rc,v 1.179 2001/08/17 22:00:11 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.
@ -411,6 +411,12 @@ if [ "X${mrouted_flags}" != X"NO" ]; then
echo -n ' mrouted'; mrouted $mrouted_flags echo -n ' mrouted'; mrouted $mrouted_flags
fi fi
# $altqd_flags is imported from /etc/rc.conf;
# If $altqd_flags == NO, then altqd isn't run.
if [ "X${altqd_flags}" != X"NO" ]; then
echo -n ' altqd'; altqd $altqd_flags
fi
# $dhcpd_flags is imported from /etc/rc.conf # $dhcpd_flags is imported from /etc/rc.conf
# If $dhcpd_flags == NO or /etc/dhcpd.conf doesn't exist, then dhcpd isn't run. # If $dhcpd_flags == NO or /etc/dhcpd.conf doesn't exist, then dhcpd isn't run.
if [ "X${dhcpd_flags}" != X"NO" -a -f /etc/dhcpd.conf ]; then if [ "X${dhcpd_flags}" != X"NO" -a -f /etc/dhcpd.conf ]; then


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

@ -1,9 +1,10 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: rc.conf,v 1.66 2001/07/05 18:38:52 deraadt Exp $
# $OpenBSD: rc.conf,v 1.67 2001/08/17 22:00:12 deraadt 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"
altqd_flags=NO # for normal use: ""
mrouted_flags=NO # for normal use: "", if activated mrouted_flags=NO # for normal use: "", if activated
# be sure to enable multicast_router below. # be sure to enable multicast_router below.
rarpd_flags=NO # for normal use: "-a" rarpd_flags=NO # for normal use: "-a"


Loading…
Cancel
Save