summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-07-13 13:15:37 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-07-13 13:15:37 +0000
commit257a0f58ef2ca6190cd29dccd454a6f0266ca161 (patch)
tree0274b050061d4ea14e2e21d99548fb2e734a45e8 /etc/rc
parent18e88170b452bca5deb34843455c9c784517a884 (diff)
rtadvd.conf is not required, actually
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc7
1 files changed, 3 insertions, 4 deletions
diff --git a/etc/rc b/etc/rc
index b0c08f4f9b4..9b827ab970c 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.146 2000/07/11 22:30:56 matt Exp $
+# $OpenBSD: rc,v 1.147 2000/07/13 13:15:36 itojun Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -411,9 +411,8 @@ if ifconfig lo0 inet6 >/dev/null 2>&1; then
/usr/sbin/route6d ${route6d_flags}
fi
# $rtadvd_flags is imported from /etc/rc.conf;
- # If $rtadvd_flags == NO or /etc/rtadvd.conf doesn't exist,
- # then rtadvd isn't run.
- if [ "X${rtadvd_flags}" != X"NO" -a -f /etc/rtadvd.conf ]; then
+ # If $rtadvd_flags == NO, then rtadvd isn't run.
+ if [ "X${rtadvd_flags}" != X"NO" ]; then
echo -n ' rtadvd'
/usr/sbin/rtadvd ${rtadvd_flags}
fi