1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2024-01-24 15:30:38 +01:00
parent 9237ab003d
commit 4f26897d1a

View file

@ -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