mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Use -e on multipath binary
This commit is contained in:
parent
9237ab003d
commit
4f26897d1a
1 changed files with 9 additions and 9 deletions
|
@ -95,7 +95,7 @@ DEVICE="$1"
|
|||
TYPE="$2"
|
||||
#FLAG_PATH=`find /sys/devices/ -path "*/net/$DEVICE/flags"`
|
||||
|
||||
[ -d "/sys/class/net/$DEVICE/" ] || {
|
||||
[ -e "/sys/class/net/$DEVICE/" ] || {
|
||||
#echo "Device '$DEVICE' can't found!"
|
||||
#echo "Use the hardware name like in ifconfig"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue