mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 00:13:04 +01:00
Our ping doesn't have the ``-w'' option.
Submitted by: Kevin Street <street@iname.com>
This commit is contained in:
parent
5563ee5462
commit
3ab6b5e6f7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45159
@ -130,7 +130,7 @@ if [ x$reason = xTIMEOUT ]; then
|
||||
sleep 1
|
||||
if [ "$new_routers" != "" ]; then
|
||||
set $new_routers
|
||||
if ping -q -c 1 -w 1 $1; then
|
||||
if ping -q -c 1 $1; then
|
||||
if [ x$new_ip_address != x$alias_ip_address ] && \
|
||||
[ x$alias_ip_address != x ]; then
|
||||
ifconfig $interface inet alias $alias_ip_address $alias_subnet_arg
|
||||
|
Loading…
Reference in New Issue
Block a user