mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +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"
|
TYPE="$2"
|
||||||
#FLAG_PATH=`find /sys/devices/ -path "*/net/$DEVICE/flags"`
|
#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 "Device '$DEVICE' can't found!"
|
||||||
#echo "Use the hardware name like in ifconfig"
|
#echo "Use the hardware name like in ifconfig"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue