summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-06-10 07:15:17 +0000
committerderaadt <deraadt@openbsd.org>1996-06-10 07:15:17 +0000
commit234efc0ec93a3d2d77456d7442456fbfe1ef47e7 (patch)
tree23c2d8e74ee61bbe3732555b2894b671a6d8eaec
parent-P is only for backwards compat (diff)
downloadwireguard-openbsd-234efc0ec93a3d2d77456d7442456fbfe1ef47e7.tar.xz
wireguard-openbsd-234efc0ec93a3d2d77456d7442456fbfe1ef47e7.zip
fix rpc.yppasswdd conditional
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 89be570b82d..b7a5b071c9a 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.12 1996/05/30 09:37:34 deraadt Exp $
+# $OpenBSD: rc,v 1.13 1996/06/10 07:15:17 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -112,7 +112,7 @@ if [ -d /var/yp/binding ]; then
_host2=`nslookup $_host2 | grep '^Name: ' | \
sed -e 's/^Name: //'`
fi
- if [ "$host2" = "$host1" ]; then
+ if [ "$_host2" = "$_host1" ]; then
echo -n ' rpc.yppasswdd'; rpc.yppasswdd
fi
fi