summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2000-07-13 13:15:36 +0000
committeritojun <itojun@openbsd.org>2000-07-13 13:15:36 +0000
commit0634714015b321a9aa8774d8acf8122ad3d27789 (patch)
tree4595d2d90ac40059c8dcaf2cb8921375faf5d71d
parentBe smarter when populating the miniroot : don't copy, then rm, files not needed here. Required to fit since last MAKEDEV additions. (diff)
downloadwireguard-openbsd-0634714015b321a9aa8774d8acf8122ad3d27789.tar.xz
wireguard-openbsd-0634714015b321a9aa8774d8acf8122ad3d27789.zip
rtadvd.conf is not required, actually
-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