diff options
author | Thomas Bächler <thomas@archlinux.org> | 2008-04-06 23:30:48 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2008-04-06 23:30:48 +0200 |
commit | 307c850a0c345a092a21fff50da2f0658c3c03c4 (patch) | |
tree | bbd7a59b5e831c65ecbf41c8f40eec7510e193a7 /network | |
parent | 89355a468670983476d29b415c12e097d5d79ca5 (diff) |
Remove the "interface is already up" check from ifup
As stated in commit f589387f0b9ef56de8ab30f50a3c562e010baeeb, even an
interface that is 'UP' may need configuring. However, the check introduced
in this commit is nonsense (causing bug #9960, possibly others). The best
idea is to remove the check altogether: This may cause duplicate dhcpcd
processes to run (should be fixed), but otherwise ensures the interface is
brought up when it should be.
Diffstat (limited to 'network')
-rwxr-xr-x | network | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -18,10 +18,6 @@ ifup() echo "usage: $0 ifup <interface_name>" return 1 fi - # don't bring up an interface that's already up - [ "$(/sbin/ifconfig ${1} 2>/dev/null |\ - /bin/grep -v 'inet6 addr: fe80:' |\ - /bin/grep -e 'inet addr:' -e 'inet6 addr:')" ] && return 0 eval iwcfg="\$wlan_${1}" if [ "$iwcfg" != "" ]; then /usr/sbin/iwconfig $iwcfg |