From 18262f6b6b220ecf0e5d7f294b868b59b6e72b30 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 17 Aug 2001 22:00:12 +0000 Subject: [PATCH] altqd startup stuff --- src/etc/rc | 8 +++++++- src/etc/rc.conf | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/etc/rc b/src/etc/rc index a7197a3e..639f2cdc 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -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 # or after single-user. @@ -411,6 +411,12 @@ if [ "X${mrouted_flags}" != X"NO" ]; then echo -n ' mrouted'; mrouted $mrouted_flags 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 # 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 diff --git a/src/etc/rc.conf b/src/etc/rc.conf index ef00ffbf..3179b928 100644 --- a/src/etc/rc.conf +++ b/src/etc/rc.conf @@ -1,9 +1,10 @@ #!/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 routed_flags=NO # for normal use: "-q" +altqd_flags=NO # for normal use: "" mrouted_flags=NO # for normal use: "", if activated # be sure to enable multicast_router below. rarpd_flags=NO # for normal use: "-a"