at least rtadvd has it's own check and failes to start if forwarding
is not enabled, not sure what route6d is doing.

rc(8) should not silently hide errors.

OK?

diff --git etc/rc etc/rc
index 21f009306cb..938f4858301 100644
--- etc/rc
+++ etc/rc
@@ -575,14 +575,7 @@ run_upgrade_script sysmerge
 
 echo -n 'starting network daemons:'
 start_daemon ldomd sshd switchd snmpd ldpd ripd ospfd ospf6d bgpd ifstated
-start_daemon relayd dhcpd dhcrelay mrouted dvmrpd radiusd eigrpd
-
-if ifconfig lo0 inet6 >/dev/null 2>&1; then
-       if (($(sysctl -n net.inet6.ip6.forwarding) == 1)); then
-               start_daemon route6d rtadvd
-       fi
-fi
-
+start_daemon relayd dhcpd dhcrelay mrouted dvmrpd radiusd eigrpd route6d rtadvd
 start_daemon hostapd lpd smtpd slowcgi httpd ftpd
 start_daemon ftpproxy ftpproxy6 tftpd tftpproxy identd inetd rarpd bootparamd
 start_daemon rbootd mopd vmd spamd spamlogd sndiod


-- 
I'm not entirely sure you are real.

Reply via email to