Remove another instance of 'ip ... ls'

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6939 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-07-22 15:18:00 +00:00
parent 25d773762d
commit 9c2e98b57e

View File

@ -33,7 +33,7 @@
#
interface_is_up() {
[ -n "$(ip link ls dev $1 2> /dev/null | grep -e '[<,]UP[,>]')" ]
[ -n "$(ip link list dev $1 2> /dev/null | grep -e '[<,]UP[,>]')" ]
}
case $# in