diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-10 07:15:18 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-10 07:15:18 +0000 |
commit | f77493d25f3eff7d86bcc20c60d101af4a8b1642 (patch) | |
tree | 3997118a6e037efa3da8eecf1ff867adc0555ab7 /etc | |
parent | 797cd5a56f9ad718cee3f29b1d76f90179197309 (diff) |
fix rpc.yppasswdd conditional
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |