In /etc/rc.network, near line 242, setting up Kerberos,

variable "stash_flag" is set.  A few lines later, it is evaluated
as "stash_flags" with a trailing "s", and then a bit later the
singular version is unset.

PR:		7609
Reviewed by:	phk
Submitted by:	Walt Howard <howard@ee.utah.edu>
This commit is contained in:
Poul-Henning Kamp 1998-08-14 06:55:17 +00:00
parent ab138b58a5
commit a6587b5772
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38316
7 changed files with 21 additions and 21 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.27 1998/06/14 16:31:03 steve Exp $
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -260,10 +260,10 @@ network_pass3() {
stash_flag=
fi
echo -n ' kerberos'; \
kerberos ${stash_flags} >> /var/log/kerberos.log &
kerberos ${stash_flag} >> /var/log/kerberos.log &
if [ "X${kadmind_server_enable}" = "XYES" ]; then
echo -n ' kadmind'; \
(sleep 20; kadmind ${stash_flags} >/dev/null 2>&1 &) &
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
fi
unset stash_flag
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.27 1998/06/14 16:31:03 steve Exp $
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -260,10 +260,10 @@ network_pass3() {
stash_flag=
fi
echo -n ' kerberos'; \
kerberos ${stash_flags} >> /var/log/kerberos.log &
kerberos ${stash_flag} >> /var/log/kerberos.log &
if [ "X${kadmind_server_enable}" = "XYES" ]; then
echo -n ' kadmind'; \
(sleep 20; kadmind ${stash_flags} >/dev/null 2>&1 &) &
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
fi
unset stash_flag
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.27 1998/06/14 16:31:03 steve Exp $
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -260,10 +260,10 @@ network_pass3() {
stash_flag=
fi
echo -n ' kerberos'; \
kerberos ${stash_flags} >> /var/log/kerberos.log &
kerberos ${stash_flag} >> /var/log/kerberos.log &
if [ "X${kadmind_server_enable}" = "XYES" ]; then
echo -n ' kadmind'; \
(sleep 20; kadmind ${stash_flags} >/dev/null 2>&1 &) &
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
fi
unset stash_flag
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.27 1998/06/14 16:31:03 steve Exp $
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -260,10 +260,10 @@ network_pass3() {
stash_flag=
fi
echo -n ' kerberos'; \
kerberos ${stash_flags} >> /var/log/kerberos.log &
kerberos ${stash_flag} >> /var/log/kerberos.log &
if [ "X${kadmind_server_enable}" = "XYES" ]; then
echo -n ' kadmind'; \
(sleep 20; kadmind ${stash_flags} >/dev/null 2>&1 &) &
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
fi
unset stash_flag
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.27 1998/06/14 16:31:03 steve Exp $
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -260,10 +260,10 @@ network_pass3() {
stash_flag=
fi
echo -n ' kerberos'; \
kerberos ${stash_flags} >> /var/log/kerberos.log &
kerberos ${stash_flag} >> /var/log/kerberos.log &
if [ "X${kadmind_server_enable}" = "XYES" ]; then
echo -n ' kadmind'; \
(sleep 20; kadmind ${stash_flags} >/dev/null 2>&1 &) &
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
fi
unset stash_flag
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.27 1998/06/14 16:31:03 steve Exp $
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -260,10 +260,10 @@ network_pass3() {
stash_flag=
fi
echo -n ' kerberos'; \
kerberos ${stash_flags} >> /var/log/kerberos.log &
kerberos ${stash_flag} >> /var/log/kerberos.log &
if [ "X${kadmind_server_enable}" = "XYES" ]; then
echo -n ' kadmind'; \
(sleep 20; kadmind ${stash_flags} >/dev/null 2>&1 &) &
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
fi
unset stash_flag
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.27 1998/06/14 16:31:03 steve Exp $
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -260,10 +260,10 @@ network_pass3() {
stash_flag=
fi
echo -n ' kerberos'; \
kerberos ${stash_flags} >> /var/log/kerberos.log &
kerberos ${stash_flag} >> /var/log/kerberos.log &
if [ "X${kadmind_server_enable}" = "XYES" ]; then
echo -n ' kadmind'; \
(sleep 20; kadmind ${stash_flags} >/dev/null 2>&1 &) &
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
fi
unset stash_flag
fi