summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
diff options
context:
space:
mode:
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-xetc/pccard_ether2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/pccard_ether b/etc/pccard_ether
index 04c6f76..084ddb5 100755
--- a/etc/pccard_ether
+++ b/etc/pccard_ether
@@ -71,7 +71,7 @@ fi
case ${startstop} in
[Ss][Tt][Aa][Rr][Tt] | '')
if [ -x /usr/bin/grep ]; then
- if ifconfig $ifn | grep -s netmask > /dev/null 2>&1; then
+ if ifconfig $ifn | grep -s '[<,]UP[,>]' > /dev/null 2>&1; then
# Interface is already up, so ignore it.
exit 0
fi
OpenPOWER on IntegriCloud