diff options
author | Judd Vinet <judd@archlinux.org> | 2003-09-19 04:57:20 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2003-09-19 04:57:20 +0000 |
commit | 6ea51dec01002c6b392c374fa70a62020edffd84 (patch) | |
tree | f493db4749736c1015c7a3a1d013878bef3e4e48 /network | |
parent | 2a48c5bd8db694cfe3a26cc3ef92e36050859b31 (diff) |
added timeout to dhcp startup
Diffstat (limited to 'network')
-rwxr-xr-x | network | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,8 +9,8 @@ ifup() eval new_ifline=$varname if [ "$new_ifline" = "dhcp" ]; then # remove the .pid file if it exists - rm -f /etc/dhcpc/dhcpcd-${1}.pid >/dev/null 2>&1 - /usr/sbin/dhcpcd -h $HOSTNAME $1 + rm -f /etc/dhcpc/dhcpcd-${1}.{pid,cache} >/dev/null 2>&1 + /usr/sbin/dhcpcd -t 10 -h $HOSTNAME $1 else /sbin/ifconfig $new_ifline fi |