Unverified Commit 05f95c95 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Macvlan

parent 556ae7cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ configureMacVlan () {
  [[ ! -e ${_tmpTapPath} ]] && [[ -e /dev0/${_tmpTapPath##*/} ]] && ln -s /dev0/${_tmpTapPath##*/} ${_tmpTapPath}

  if [[ ! -e ${_tmpTapPath} ]]; then
    if [[ ! mknod ${_tmpTapPath} c $MAJOR $MINOR ]]; then
    if [ ! mknod ${_tmpTapPath} c $MAJOR $MINOR ]; then
      echo "ERROR: Cannot mknod: ${_tmpTapPath}" && exit 20
    fi
  fi