summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-08-17 14:43:35 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-08-17 14:43:35 +0000
commit4967ec34e935bbdb556149a85f379cfdfbed2173 (patch)
tree213951897ec35163b83e508fb18d2fe0bf995dde /etc
parent0763b49dfe65413744f0e2df5d10348780c37393 (diff)
Execute /etc/netstart using sh(1) instead of sourcing it.
Committing early to make sure we have time to fix any side-effect. ok deraadt@
Diffstat (limited to 'etc')
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 09bbf98aa57..5856719efde 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.438 2014/08/04 20:17:09 naddy Exp $
+# $OpenBSD: rc,v 1.439 2014/08/17 14:43:34 ajacoutot Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -371,7 +371,7 @@ if [ -f /etc/resolv.conf.save ]; then
mv -f /etc/resolv.conf.save /etc/resolv.conf
touch /etc/resolv.conf
fi
-. /etc/netstart
+sh /etc/netstart
dmesg > /dev/random # any write triggers an RC4 rekey
if [ X"${pf}" != X"NO" ]; then