mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
Fix a typo that caused dhclient not to work.
Submitted by: Dennis Kristensen <snicki@snicki.dk> Reviewed by: Mike Makonnen <makonnen@pacbell.net>
This commit is contained in:
parent
242bd45fb4
commit
8abdee58c7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100281
@ -140,7 +140,8 @@ network_start()
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ ! -z "${dhcp_interfaces}" ]; then
|
if [ ! -z "${dhcp_interfaces}" ]; then
|
||||||
${dhcp_program:-/sbin/dhclient} ${dhcp_flags} ${dhcp_interfaces} fi
|
${dhcp_program:-/sbin/dhclient} ${dhcp_flags} ${dhcp_interfaces}
|
||||||
|
fi
|
||||||
|
|
||||||
for ifn in ${network_interfaces}; do
|
for ifn in ${network_interfaces}; do
|
||||||
# Check to see if aliases need to be added
|
# Check to see if aliases need to be added
|
||||||
@ -275,7 +276,6 @@ network_start()
|
|||||||
if [ -s /etc/netstart.local ]; then
|
if [ -s /etc/netstart.local ]; then
|
||||||
sh /etc/netstart.local start
|
sh /etc/netstart.local start
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
echo '.'
|
echo '.'
|
||||||
|
|
||||||
# Resync ipfilter
|
# Resync ipfilter
|
||||||
|
@ -140,7 +140,8 @@ network_start()
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ ! -z "${dhcp_interfaces}" ]; then
|
if [ ! -z "${dhcp_interfaces}" ]; then
|
||||||
${dhcp_program:-/sbin/dhclient} ${dhcp_flags} ${dhcp_interfaces} fi
|
${dhcp_program:-/sbin/dhclient} ${dhcp_flags} ${dhcp_interfaces}
|
||||||
|
fi
|
||||||
|
|
||||||
for ifn in ${network_interfaces}; do
|
for ifn in ${network_interfaces}; do
|
||||||
# Check to see if aliases need to be added
|
# Check to see if aliases need to be added
|
||||||
@ -275,7 +276,6 @@ network_start()
|
|||||||
if [ -s /etc/netstart.local ]; then
|
if [ -s /etc/netstart.local ]; then
|
||||||
sh /etc/netstart.local start
|
sh /etc/netstart.local start
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
echo '.'
|
echo '.'
|
||||||
|
|
||||||
# Resync ipfilter
|
# Resync ipfilter
|
||||||
|
Loading…
Reference in New Issue
Block a user